Getting a file pointer from file descriptor

Posted by Naga Kiran on Stack Overflow See other posts from Stack Overflow or by Naga Kiran
Published on 2010-04-15T13:54:13Z Indexed on 2010/04/15 14:03 UTC
Read the original article Hit count: 253

Filed under:
|
|

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 upgrading PHP to 5.3.2, it's throwing "undefined reference to 'fdopen' function".

Please suggest whats the replacement for this in PHP 5.3.2 or any workaround.

© Stack Overflow or respective owner

Related posts about php

Related posts about php5.3