You seem to be quite confused. First of all, a function like fdopen() which
has never existed in any version of PHP, wouldn't read/write anything. In C
that function will return a FILE pointer from a file descriptor. You would
then use fread()/fwrite() to read and write from that FILE pointer.
Hi Rasmus,
Thanks for reply.
The requirement I was looking for is to read/write given only the file
descriptor number.
PHP-CGI binary is invoked by a webserver that runs in jail-directory and
doesn't have access to the file path directory.
So, it communicates with another daemon that opens a sock
2 matches
Mail list logo