PHP Generates Passwords

[code] <?php $special=’!@#$%^&*()~`;?+/={}[]-_’; $arr_sp=str_split($special,1); $arr=array_merge(range(0,9),range(‘a’,’z’),range(‘A’,’Z’),$arr_sp); shuffle($arr); $arr2=array_slice($arr, 0,14); $str=join(”,$arr2); echo $str; ?> [/code] Php generates 14 passwords. If you need to modify the number of passwords, just modify: [code] $arr2=array_slice($arr, 0,14); [/code] If you want to modify password string range… Read morePHP Generates Passwords

Clean URL first letter for X-cart

How do I change the link http://www.cheapglasses123.com/prescription-sunglasses/ with https://www.cheapglasses123.com/prescription-sunglasses/? Here is a way to do it with .htaccess or httpd.conf: http://www.askapache.com/htaccess/rewrite-uppercase-lowercase.html You could write a mysql query that would change all the entries in the database using the Lower() function:… Read moreClean URL first letter for X-cart

How to remove meta name=”Generator” of Drupal 7?

Edit includes/common.inc. removed these three lines by putting // // ‘name’ => ‘Generator’, // ‘content’ => ‘Drupal ‘ . $version . ‘ (http://drupal.org)’, // $elements[‘system_meta_generator’][‘#attached’][‘drupal_add_http_header’][] = array(‘X-Generator’, $elements[‘system_meta_generator’][‘#attributes’][‘content’]);