On Sun, May 7, 2006 11:22 pm, Oliver John V. Tibi wrote:
> while ($data != "") {
> $document .= $data;
> $data = socket_read( $resource, 1024 );
$logman->append("Read " . strlen($data) . " bytes");
> }
This is going to help
Hi all,
I suspect I'm having problems with socket functions within my PHP
application running on Red Hat 2.4.21-4.EL #1/PHP 4.3.2/Apache 2.0.46.
Below is a sample code listing:
function sendRequest($strRequest) {
$parse
WOW...so much simpler..thank you very much!!
Cheers
Phil
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1>
From: Burhan Khalid <[EMAIL PROTECTED]>To: Philippe
Reynolds <[EMAIL PROTECTED]>CC:
php-general@lists.php.netSubject: Re: [PHP] Socket
functionsDate: Tue, 30 Aug 2005 09:
Philippe Reynolds wrote:
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my
ethernet. It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
--
PHP General M
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my ethernet.
It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
Cheers
Phil
--
PHP General Mailing List (ht
Socket functions, such as socket_read(), socket_accept() blocking
signal handling in php-processes. Is it bug? Is there any way to use
signals and socket_accept() together?
Please, help!
--
Michael Govorun
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Hi, just wondering if anyone have tried the socket functions in php
http://www.php.net/manual/en/ref.sockets.php
does it work on win32(apache)? i tried the simple TCP/IP example on that page but it
does\'nt work for me. I\'m using 4.1.0 and enabled that entension already.
--
PHP General Mail
Hello,
I cannot make the Example 1 (Socket example: Simple TCP/IP server) from the
sockets php manual page (http://www.php.net/manual/en/ref.sockets.php) work
:(
It always closes the connection after one line passed throug the server
script :(
I'm running it on 4.0.3pl1 CGI version.
Am I doing
I am currently thinking about how to implement a realtime chat using the
XMLSocket functionality in Macromedia Flash 5 using the PHP socket
functions. Here's a quote from the Flash 5 online help:
--- begin quote ---
Using the XMLSocket object
To us
Yasuo Ohgaki wrote:
> Did you read the Manual?
The manual is my bible I always read it before I post. Also searched
google and the list archives.
> socket_set_blocking
As far as I can tell this does not work for the new socket functions,
the file descriptor does not seem to be compatible? (i
Did you read the Manual?
>From PHP Manual
=
socket_set_blocking
Description
int socket_set_blocking (int socket descriptor, int mode)
If mode is false, the given socket descriptor will be switched to non-blocking
mode, and if true, it will be switched to blocking mode. This affects call
Joseph Blythe wrote:
> hello,
>
> does anyone know if set_nonblock() works, what paramaters it takes
> and what it returns?
>
> there is only one mention of it in the manual under accept_connect,
> and I can not seem to set the socket to non block??
>
> also has anybody successfully wri
hello,
does anyone know if set_nonblock() works, what paramaters it takes and
what it returns?
there is only one mention of it in the manual under accept_connect, and
I can not seem to set the socket to non block??
also has anybody successfully written a way to time out a read with the
new
hello,
is it possible to use the socket-functions within a windows-environment, or
are they for linux-distributions only ...?
regards christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To co
14 matches
Mail list logo