http://php.about.com/od/gdlibrary/ss/grayscale_gd.htm
Tag Archives: PHP
.htaccess Session timeout
php_value session.cookie_lifetime 3600 php_value session.gc_maxlifetime 3600 printf("cookie: %s, gc: %s", ini_get(‘session.cookie_lifetime’), ini_get(‘session.gc_maxlifetime’));
PHP remove key from associative array
$a = array( ‘a’ => 123, ‘b’ => 456, ‘c’ => 789, ‘d’ => 123 ); unset($a[‘b’]); print_r($a);
PHP variable creation into one line
variable creation into one line
PHP: Multi-word MySQL Search
Here we have a simple PHP search algorithm that queries a MySQL database and outputs the result. It is a simple alternative to using the FULLTEXT search feature of MySQL. The script autmatically takes into consideration how many search words are in the search string which is submitted from the HTML search form. It then …
greek letters using strtoupper and strtolower
Solution