[PHP] safe_mode not working with php-4.3.1

2003-03-07 Thread Stephen Grier
UID/GID, which is supposed to be prohibited in safe_mode. If I switch back to php-4.2.3, I get safe_mode restrictions as expected. get_ini('safe_mode') shows that safe_mode is correctly enabled for php-4.3.1. Am I missing something with php-4.3.1, or should I stick with php-4.2.3? --

Re: [PHP] php-4.3.0pre2, fgets and socket_get_status

2002-11-25 Thread Stephen Grier
is, and whether this behaviour is a bug or intentional change in php-4.3.0pre2. Thanks, Stephen Stephen Grier wrote: > > An application I am developing contains something like the following: > > $this->socket = fsockopen($server, $port, $errnum, $errstr, "60&qu

[PHP] php-4.3.0pre2, fgets and socket_get_status

2002-11-22 Thread Stephen Grier
e: $status = socket_get_status($this->socket); if ($status["unread_bytes"] <= 0) return false; However, $status["unread_bytes"] always returns 0 until the first call to fgets($this->socket). Is this right? I'd like to check the status of the socket before I t