We added the extension=sockets.so to php.ini but it didn't work. However,
the problem was there was no sockets.so extension anywhere to be found.
i searched if I could install or add sockets.so extension. Couldn't find
anything.
Still looking for it.
Thank you for all the help.
-Suyash
On
On Tue, Nov 2, 2010 at 5:49 PM, Nathan Nobbe quickshif...@gmail.com wrote:
On Tue, Nov 2, 2010 at 2:33 PM, Suyash R r.suy...@gmail.com wrote:
No, we didn't try it our dept.'s admin wants to know where is sockets.so
file on disk
lol, tell your dept.'s 'admin' to run
locate sockets.so
On Thu, Nov 4, 2010 at 11:11 AM, Suyash R r.suy...@gmail.com wrote:
On Tue, Nov 2, 2010 at 5:49 PM, Nathan Nobbe quickshif...@gmail.comwrote:
On Tue, Nov 2, 2010 at 2:33 PM, Suyash R r.suy...@gmail.com wrote:
No, we didn't try it our dept.'s admin wants to know where is sockets.so
file on
On Thu, Nov 4, 2010 at 11:43 AM, Nathan Nobbe quickshif...@gmail.comwrote:
$ yum search php | grep -i socket
php-pear-Net-Socket.noarch : Network Socket Interface
check that - thats def *not* the package you're looking for, it's a
userspace oo wrapper. you'd be best asking how to install
On Thu, 2010-11-04 at 11:48 -0600, Nathan Nobbe wrote:
On Thu, Nov 4, 2010 at 11:43 AM, Nathan Nobbe quickshif...@gmail.comwrote:
$ yum search php | grep -i socket
php-pear-Net-Socket.noarch : Network Socket Interface
check that - thats def *not* the package you're looking for, it's a
Hello,
I was trying to create a socket connection from a Solaris machine to a Red
Hat machine to get the PATH in Red Hat machine remotely on Solaris machine
and display it to the user.
We have a PHP 5.1.6 installation on a Linux server (Apache) and PHP 5.2.6.
on a Unix(Solaris) server(Apache) .
On Mon, Nov 1, 2010 at 12:40 PM, crrr errr r.suy...@gmail.com wrote:
Hello,
I was trying to create a socket connection from a Solaris machine to a Red
Hat machine to get the PATH in Red Hat machine remotely on Solaris machine
and display it to the user.
We have a PHP 5.1.6
Yes, the phpinfo() shows that sockets are enabled in both machines.
On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert phps...@gmail.com wrote:
On Mon, Nov 1, 2010 at 12:40 PM, crrr errr r.suy...@gmail.com
wrote:
Hello,
I was trying to create a socket connection from a Solaris machine
On Nov 1, 2010, at 11:44 AM, crrr errr wrote:
Yes, the phpinfo() shows that sockets are enabled in both machines.
On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert phps...@gmail.com wrote:
On Mon, Nov 1, 2010 at 12:40 PM, crrr errr r.suy...@gmail.com
wrote:
Hello,
I was
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary for Apache user.
On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell n...@monkeyknight.comwrote:
On Nov 1, 2010, at 11:44 AM, crrr errr wrote:
Yes, the
On Nov 1, 2010, at 12:08 PM, crrr errr wrote:
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary for Apache user.
On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell n...@monkeyknight.com wrote:
On Nov
On Nov 1, 2010, at 12:08 PM, crrr errr wrote:
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary for Apache user.
On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell n...@monkeyknight.comwrote:
On Nov
I don't think the unix permission will cause a function undefined error.
於 2010年11月02日 01:08, crrr errr 提到:
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary for Apache user.
On Mon, Nov 1, 2010 at 12:50
On Nov 1, 2010, at 12:36 PM, rek wrote:
I don't think the unix permission will cause a function undefined error.
於 2010年11月02日 01:08, crrr errr 提到:
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary
No, sockets.so in not included in any of the machines php.ini file. However,
I found that Linux machine's php.ini doesn't include sockets.so and sockets
work fine on it but don't work on the Solaris machine.
Is it required to be included only in Solaris?
On Mon, Nov 1, 2010 at 1:41 PM, Nicholas
On Nov 1, 2010, at 1:12 PM, Suyash R wrote:
No, sockets.so in not included in any of the machines php.ini file. However,
I found that Linux machine's php.ini doesn't include sockets.so and sockets
work fine on it but don't work on the Solaris machine.
Is it required to be included only
?php
/* Get the port for the WWW service. */
//$service_port = getservbyname('www', 'tcp');
/* Get the IP address for the target host. */
//$address = gethostbyname('www.example.com');
/* Create a TCP/IP socket. */
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
//echo Attempting to
How do I detect a disconnected client from a socket resource?
In an infinite loop, I socket_read() every open resource that passes a
socket_select().
As far as I know, the only way to detect if the client disconnected
unexpectedly from their socket resource is when socket_read() returns
Koktas
[EMAIL PROTECTED]
Business Excellence Development
Phi.dot Internet Systems
-Original Message-
From: Anthony Rasmussen [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 06, 2007 11:12 PM
To: php-general@lists.php.net
Subject: [PHP] PHP Sockets - How to detect client disconnection
This may sound a bit cheeky, but I've spent most of today looking for some
examples of sockets.
I've managed to create a socket and it's connecting ok, but next I need to
find a way of sending an ASCII string to the remote computer and echo-ing
the results back to my screen.
(Using a text box to
Hi thomas,
Thomas Weber wrote:
IMAP? We were talking about IRC,
Used imap as an example.
the Internet Relay Chat.
In detail, my problems doesn't even refer to IRC directly, as i am
developing a server for a html-based webchat, but the server-structure and
the messages are nearly the same.
Yes
I'm trying to write a simple PHP script that communicates with a daemon
running on the same server.
Basically, the daemon just accepts an integer and returns an integer:
[josh@jlevine-research josh]$ telnet 127.0.0.1 60324
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
9
26, 2002 11:32 AM
Subject: [PHP] PHP sockets/daemon problem
I'm trying to write a simple PHP script that communicates with a daemon
running on the same server.
Basically, the daemon just accepts an integer and returns an integer:
[josh@jlevine-research josh]$ telnet 127.0.0.1 60324
-connection
B i g D o g
- Original Message -
From: Josh Levine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 11:32 AM
Subject: [PHP] PHP sockets/daemon problem
I'm trying to write a simple PHP script that communicates with a daemon
running on the same
Hi,
I am opening a socket on a remote server(weblogic) and sending my username
and psswd to authentify them...
I figure my php is opening the socket as no errors r being trapped.. However
the response is a blank page instead of an xml formatted response...why???
how can i rectify this??
Hi,
I am opening a socket on a remote server(weblogic) and sending my username
and psswd to authentify them...
I figure my php is opening the socket as no errors r being trapped.. However
the response is a blank page instead of an xml formatted response...why???
how can i rectify this??
Probably here :
$header .= User-Agent: PHP/4.0.6 (Apache/1.3.20)\r\n\r\n;
you have two new lines instead of one.
HTH
Regards,
Andrey Hristov
- Original Message -
From: Sandeep Murphy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 09, 2002 6:23 PM
Subject: [PHP] php
Plus, isn't your request content-type: application/x-www-form-urlencoded?
And another thing, since you send all the headers HTTP 1.1 compatible, why don't
you use it instead of 1.0?
Bogdan
Sandeep Murphy wrote:
Hi,
I am opening a socket on a remote server(weblogic) and sending my username
28 matches
Mail list logo