Re: [PHP] is_object($_SESSION['dagobertduck']);
thanks. fixed that with simple un/serialize(). somehow i assumed php would be capable of recognizing automatically that it makes sense with object to do this automatically (who really needs unexplicitly a string instead of o valid object when puttin them into a session-var?) thanks anyway m -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is_object($_SESSION['dagobertduck']);
hi: i wonder why... if(!is_object($_SESSION['xmlModel'])) echo there is no obj present, juppa**; at my place always results in TRUE or echoing the there is no.. , even if var_dump reports that $_SESSION['xmlModel'] is an object. did i screw something up or are there special policies with the beloved session variables? i thought $_SESSION is just mapped into memory from the session-container during init on every request and at the end of the script serialized back to the container? maybe i missed special policies for referencing objects stored in the session-variable? thanks! /m -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] a passion to perform ;)
Hi, i just benchmarked some of my applications with PEAR::Benchmark and would like to know if any of you have good literature regarding PHP and performance in generall? I am not talking about precompiled scripts (ioncube, zend, ..) Basically I am trying to find out how good a standard HTML rendering PHP-Applications usually performs? Furthermore I wonder of there are any usability papers/studies regarding this topic? (how long is long for a user? how long is a user on broadband usually expectin a page to load without thinking damn. why does this take so long?) Maybe anyone knows of a good free performace and memory profiler? Yours, Matthias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: exclude_once(); ?
or if your PHP versions is prior to 4.3.0 use ini_set('include_path', '.:/path'): http://de3.php.net/manual/en/function.ini-set.php Yes that was my idea, too. Probably its best to kick there whole include-path and substitute it with my own. Lets hope it has nothing to do with the auto_append thing. I am just a little curious why they, by default, include old PEAR classes. Thats def a bad trap if you dont do a $ pear upgrade-all by cronjob. Thanks for your assistance, M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP /\ UML
thanks. i just dislike the idea of usingdesktop apps bound to a single gui. why the hell we need this in times of java/awt/swing, .net, xul and other funky technologies? any more ideas? /m -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP /\ UML
Hi, I wonder if anyone here is aware of UML Tools for PHP? I know of ArgoUML whichs PHP-codegenerator seems to be very beta. Maybe there are or are planned and well intergrated plugins for Zend Studio, PHPEd, TruStudio/Eclipse or alike? Basically I would be interrested in a solution that really makes it possible to use UML in the design and implementation process and which works both ways (code-uml, uml-code).. I hope this is not offtopic for this list, but I couldnt find any public OO-related one. Yours, Matthias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] exclude_once(); ?
Hi again! Question: Does anyone know of a possibility to exclude files which have been included _before_ my script starts on the fly (e.g. at the first lines after the entrypoint) ? Reasons: This ISP of my customer somehow includes a bunch of old PEAR files by default which I dont need or of which I need in a later version. So when several PEAR-packages perform a require_once('HTML/foo.php') PHP recognizes that it has already included foo.php and does not overload with the one specified in my user space code. Maybe there is a general possibility from blocking my ISP including some files by default? Anyone knows why this has become practice by some ISPs? (Doesnt make sense to me to have overhead for dozens of requests which scripts most of the dont require those classes to be used). Yours, M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php