Getting file pointer from file descriptor
| From: | Naga Kiran K | Date: | Thu, 15 Apr 2010 13:52:27 +0000 |
| Subject: | Getting file pointer from file descriptor | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-19916@lists.php.net to get a copy of this message | ||
Hi,
We are upgrading PHP from 5.2.3 to 5.3.2 and are facing few issues [like
unsupported functions...]
In PHP 5.2.3, "fdopen" was used to read/write to a file descriptor that's
opened by another application.
fdopen(<fileDescriptorId>,"rw"); //It worked fine with PHP 5.2.3
After PHP upgrade,its throwing "undefined reference to 'fdopen' function".
Please suggest whats the replacement for this in PHP 5.2.3 or any
workaround.
Thanks,
Naga Kiran