Re: [PHP] __autoload not work in cgi?

2013-03-27 Thread Sorin Badea
__autoload is kinda old. It allows you a single autoload callback and so on. You can google on this topic to find more details . Sorin! On 03/27/2013 04:40 PM, Radek Krejča wrote: spl_autoload_register is working. Thank you. So - __autoload isnt already supported? Radek Did you tried with

RE: [PHP] __autoload not work in cgi?

2013-03-27 Thread Radek Krejča
spl_autoload_register is working. Thank you. So - __autoload isnt already supported? Radek Did you tried with spl_autoload_register ? http://php.net/manual/en/function.spl-autoload-register.php Kind regards,

Re: [PHP] __autoload not work in cgi?

2013-03-27 Thread Sorin Badea
Did you tried with spl_autoload_register ? http://php.net/manual/en/function.spl-autoload-register.php Kind regards, Sorin! On Wed, Mar 27, 2013 at 4:28 PM, Radek Krejča wrote: > Hello, > > I have installed lighttp with php support. It looks like, that function > __autoload doesnt work in cgi mo

[PHP] __autoload not work in cgi?

2013-03-27 Thread Radek Krejča
Hello, I have installed lighttp with php support. It looks like, that function __autoload doesnt work in cgi mode (in the manual I only see, that it should not work in cli mode). I have this code fragment: function __autoload($class) { if(File_Exists(PATH_EXTRAS_CLASSES.$class.".php")) { requ