Category: php

Define namespaces with PHP (Namespaces Part I)

10:32 PM by Christian Koch

Filed under php

Last modified Tuesday September 29th, 2009

test.php Using the namespace:

Turn off Deprecated Warnings

10:21 PM by Christian Koch

Filed under php

Last modified Wednesday November 30th, 2011

Deprecated: Function split() is deprecated in deprecated.php on line 9 Simply turn off these warnings in your php.ini Or during runtime Following function will throw this warning: - call_user_method_array() instead use call_user_func_array() - define_syslog_variables() - dl() - ereg_replace() instead use preg_replace() - eregi() instead use preg_match() - eregi_replace() instead use preg_replace() - set_magic_quotes_runtime() instead use magic_quotes_runtime() - session_register() instead use setzte Variable über $_SESSION - session_unregister() - session_is_registered() ...

Twitter CURL (found in the net, with some changes)

09:22 PM by Christian Koch

Filed under php

Last modified Wednesday November 30th, 2011

Show and edit BLOB fields

09:16 PM by Christian Koch

Filed under phpMyAdmin

Last modified Wednesday October 6th, 2010

Edit in config file.

Function subwords, gets words by max string length

09:11 PM by Christian Koch

Filed under php

Last modified Wednesday August 11th, 2010

Get alphabet

09:10 PM by Christian Koch

Filed under php

Last modified Thursday September 17th, 2009

Determine a File Extension Using PHP

05:11 PM by Christian Koch

Filed under php

Last modified Thursday September 17th, 2009

There are several ways determine a file extension using PHP. First is using the combination of strrpos() and substr() function like this :

Create unique File with Extension

05:07 PM by Christian Koch

Filed under php

Last modified Thursday September 17th, 2009