Getting file pointer from file descriptor
[email protected] (Naga Kiran K)
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
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