[PHP-DEV] Setting session var to null now wrong?

2002-10-05 Thread Matt Haught
I recently noticed that a commit late on Oct 2nd to session.c makes setting a session variable to null now incorrect and spits back a warning at the end of the page. I did use the ini workaround to get around this, but I am still wondering why it is wrong to do this. I am setting session

Re: [PHP-DEV] pear's Mail using smtp not working with cvs php

2002-10-02 Thread Matt Haught
I have made a little test script to see where the hang is occuring instead of figuring out pear today: ?php function getmicrotime() { list($usec, $sec) = explode( ,microtime()); return ((float)$usec + (float)$sec); } $a = getmicrotime(); $fp = fsockopen('mail.haught.org', 25, $errno,

[PHP-DEV] pear's Mail using smtp not working with cvs php

2002-10-01 Thread Matt Haught
I am trying to use pear's Mail functions to send email to my local smtp server (FreeBSD 4.4 using qmail-smtpd), but it sort of gets hung up when communicating with the smtp server. (I also tried a 2nd smtp server with the same hang). It can take many minutes (way over the script's time out