[PHP] Making your our MVC framework with PHP

2007-06-07 Thread Emil Ivanov
Hi, I just posted something like a how-to about making your very own PHP-based lightweight MVC framework. Hope you like it: http://vladev.blogspot.com/2007/06/implementing-your-very-own-lightweight.html Regards, Emil Ivanov -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Includes eating up my time

2007-07-31 Thread Emil Ivanov
include is thie __autoload() function. In other words - php supports load-on-demand for classes. Check out http://php.net/__autoload Regards, Emil Ivanov Dave M G [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PHP general list, This is probably obvious to people who are good at PHP

[PHP] session destroy callback (onSessionDestroy event)

2007-05-13 Thread Emil Ivanov
Hi, I need to do some clean-up when the session is destroyed or values are removed from it (expired). using session_set_save_handler does not work for me, as I don't want to rewrite session handling, I just need to be notified when a value is destroyed. Regards, Emil Ivanov P.S. I'm dealing

[PHP] Re: PHP debugger

2007-05-15 Thread Emil Ivanov
with instruction how to get things working. On the Xdebug site there's a lot of information how to setup PHP and XDebug. Note that the precompiled binary of the support for PDT will work for you, as it's written in Java and you don't need to compile it. Regards, Emil Ivanov Miles Thompson [EMAIL

[PHP] Re: problem with string floats in PHP

2007-05-15 Thread Emil Ivanov
?php$var = '5.812E-08';var_dump($var);$var = (float)$var;var_dump($var);var_dump($var + 2);?Outputs:string(9) 5.812E-08 float(5.812E-8) float(2.0005812) All you need is to cast it (float) to float, (int) to int. Regards, Emil Ivanov Pablo Luque [EMAIL PROTECTED] wrote in message news

[PHP] Re: PHP5 Static functions called through __call() that don't exist... yet

2007-05-19 Thread Emil Ivanov
Hi, I also think this a good proposal, but you might consider writing to the internals group, as this group is only for discussions and most of the people that read it are PHP users and have no idea how the language is made (including me). Regards, Emil Ivanov Jared Farrish [EMAIL PROTECTED