|
accessing variables within objects Hello, I'm using some php-classes which worked fine with php-5.0.4. Now I tried to upgrade to php-5.2.6, but the classes give a lot of errors. If I set error_reporting(E_ALL); I see messages like Notice: Undefined property: FastTemplate::$main in /whereever/inc.template.php on line 293 Notice: Undefi... 31 Jul 2008 18:35
Php Help I cannot get Php to run on Solaris 10... Here is the error I am getting.... ____________________________________________________________ Trying to run php outside of apache ld.so.1: php: fatal: libldap-2.3.so.0: open failed: No such file or directory With Apache....Apache will not load when trying to load... 30 Jul 2008 14:49
Still "zend_mm_heap corrupted" error in PHP 5.2.6 Dear Srs, We are having some "zend_mm_heap corrupted" errors followed by a "Segmentation fault (11)" in our Apache2 + PHP 5.2.6 servers. There are few information about this "bug" in internet: * #40479 -> http://bugs.php.net/bug.php?id=40479 * #43295 -> http://bugs.php.net/bug.php?id=43295 I have applie... 30 Jul 2008 13:24
Windows date("Y/m/d H:i:s") performance I was profiling some code on my local dev box, and in Windows, the biggest time sink for the home page is... a call to date("Y/m/d H:i:s")?! 917 ms??? Here is what I get in a cygwin shell: php -r '$c = 100; $s = microtime(true); for($i = 0; $i < $c; $i++){ $d = date("Y/m/d H:i:s"); } echo (microtime(true) - $... 31 Jul 2008 14:27
Creating new site Hi, There are many sites explaining how to build new site etc but I'd like to hear what You suggest. (about how to plan whole thing and how to write separate parts which can be put together later) I have build many small sites for myself(site to organise class assembly which is like yearly convention..it ha... 31 Jul 2008 12:23
limiting the amount of emails sent at a time in a batchsend Andrew Ballard wrote: On Tue, Jul 29, 2008 at 4:52 PM, Richard Kurth <richardkurth(a)centurytel.net> wrote: I want to limit these script two send 100 email and then pause for a few seconds and then send another 100 emails and repeat this tell it has sent all the emails that are dated for today. Th... 31 Jul 2008 22:41
limiting the amount of emails sent at a time in a batch send I want to limit these script two send 100 email and then pause for a few seconds and then send another 100 emails and repeat this tell it has sent all the emails that are dated for today. This script is runs by cron so it is running in the background. How would I do this and is it the best way to do it. I am u... 31 Jul 2008 17:33
foreach question Hey Everyone... So I am attempting to pull 2 random records from a MySQL database, so I wrote a function which I'll paste below. I had it mostly working with a while() statement, but I wanted to try a foreach to see if I could get the formatting a little bit better. Basically... What it does is grab 2 re... 29 Jul 2008 16:48
XML Encoding - with examples Okay, After much iconv, headers and "workarounds" I figured I can't use DOMDocument for XMLs when under ISO-8859-1 encoding without messing accented chars. The idea is simple: get a query result and turn into a XML. Using mysql_fetch_object is the best way for this task. If I just do nothing: get iso text, ... 29 Jul 2008 16:48
Php CLI Parser not working We recently rebuilt a webserver and upgraded it to opensuse 10.3. Now, when our webdev people run command line php scripts all of the included files are being output to the terminal instead of parsed. Can anyone make a good suggestion for what might be going on here? My Linux admin is out today, if someone can gi... 31 Jul 2008 12:23 |