In PHP 5.3 the magic quotes feature has been deprecated and with PHP 6 magic quotes will be removed completely. There are good reasons why magic quotes are bad,...
In PHP 5.3 the magic quotes feature has been deprecated and with PHP 6 magic quotes will be removed completely. There are good reasons why magic quotes are bad, but how to live without? I think the most promising solution is to (finally) start using MySQLi instead of PHP's classic MySQL extension. It's not as easy and straightforward to use as the classic one, but it's easier and probably more secure than to fight SQL injections by ones own hands.
In PHP 5.3 the magic quotes feature has been deprecated and with PHP 6 magic quotes will be removed completely. There are good reasons why magic quotes are bad, but how to live without? I think the...
Yippee, finally found the time to book train and hotel for the upcoming PHP Unconference on September 12th and 13th in Hamburg. Looking forward to meet old...
Yippee, finally found the time to book train and hotel for the upcoming PHP Unconference on September 12th and 13th in Hamburg. Looking forward to meet old friends, talk about bleeding edge technologies and have one or two beers.
Yippee, finally found the time to book train and hotel for the upcoming PHP Unconference on September 12th and 13th in Hamburg. Looking forward to meet old friends, talk about bleeding...
Crazy stuff: The new Mac OS X Snow Leopard 10.6 ships PHP 5.3.Of course with the usual annoyances:[sunnyside:~] oswald% echo '<? strftime(0) ?>' | phpWarning:...
Crazy stuff: The new Mac OS X Snow Leopard 10.6 ships PHP 5.3.Of course with the usual annoyances:[sunnyside:~] oswald% echo '<? strftime(0) ?>' | phpWarning: strftime(): It is not safe to rely on the system's timezone settings. You are \*required\* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected...
Crazy stuff: The new Mac OS X Snow Leopard 10.6 ships PHP 5.3.Of course with the usual annoyances:[sunnyside:~] oswald% echo '<? strftime(0) ?>' | phpWarning: strftime(): It is not safe to rely on the...
Over the last weeks I got many emails from users complaining about problems running their PHP apps on PHP 5.3. Todays example is osCommerce 2.2:Deprecated:...
Over the last weeks I got many emails from users complaining about problems running their PHP apps on PHP 5.3. Todays example is osCommerce 2.2:Deprecated: Function eregi() is deprecated in /opt/lampp/htdocs/oscommerce/catalog/admin/includes/classes/language.php on line 87The answer in this case is quite simple: the eregi() function as the whole ereg extension got deprecated with PHP 5.3 (see http://www.php.net/ChangeLog-5.php#5.3.0) and all PHP apps using this handy...
Over the last weeks I got many emails from users complaining about problems running their PHP apps on PHP 5.3. Todays example is osCommerce 2.2:Deprecated: Function eregi() is deprecated...