note 16396 deleted from function.pfsockopen by jimw
| From: | jimw@php.net | Date: | Sun, 28 Oct 2001 00:14:53 +0000 |
| Subject: | note 16396 deleted from function.pfsockopen by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19523@lists.php.net to get a copy of this message | ||
Is there really no way to pass the resource handle to another script?
If there's not, I don't really see the purpose of this function, since one could do the
same thing with fsockopen().
If one would need to get user input to send to the server with the same socket that's reading
through it, there is a workaround though: Save the user input in to a file or database and and then
read it in the same loop you use to read from the socket.
I haven't tried this techique yet, so there is a change that it will bring the system to
it's knees by the constant file/database reading.
I'll try this out and post experiencies here.