Hello,
in the packet description of the php5-sockets in the SuSE Linux
Enterprise Server 11 (SLES11) is
the package php5-sockets in the additional SDK available, but marked
as experimental (see below).
Is this the true, where can I find this Information, or is this only a
historical relic?
Are
On Wed, Mar 28, 2012 at 09:39, Meike Stone meike.st...@googlemail.com wrote:
Hello,
in the packet description of the php5-sockets in the SuSE Linux
Enterprise Server 11 (SLES11) is
the package php5-sockets in the additional SDK available, but marked
as experimental (see below).
Is this the
Hello,
Sounds like the package maintainer is a minimum of six years
behind the times, or they've done some forking to it. We don't
support any third-party packages, so that would be something you'd
need to discuss with them, but - in all likelihood - someone just
hasn't removed the
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
On Wed, Aug 26, 2009 at 5:36 PM, Philip Thompson philthath...@gmail.comwrote:
On Aug 26, 2009, at 2:47 PM, Bob McConnell wrote:
From: Philip Thompson
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of
Hi.
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get all the data if split up. So,
for example, here's how the data
Philip Thompson wrote:
Hi.
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get all the data if split up. So,
for
From: Philip Thompson
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get all the data if split up. So,
for example,
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get
Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get all the data if split up.
From: Shawn McKenzie
Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes
not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get all
From: Philip Thompson
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes
not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is
On Aug 26, 2009, at 2:47 PM, Bob McConnell wrote:
From: Philip Thompson
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes
not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read
well i mean even if we would not consider that particular piece of code as
an example of the code that i have issues with im still rather interesting
if theres some different between the socket model used by say, c++(winsock
in my case) and the sockets used in php
because when made a simple c++
vixle wrote:
well i mean even if we would not consider that particular piece of code as
an example of the code that i have issues with im still rather interesting
if theres some different between the socket model used by say, c++(winsock
in my case) and the sockets used in php
because when
With any code doing a basic socket functionality, the code that i gave in
the original post is suppossed to connect to a deamon, and get a message
from it , instead it makes the deamon go crazy in the sense that it starts
endless looping and loads the system resources up to max.
Jim Lucas
figured id top-post on this one, since the original message was so long..
i recommend debugging with a tool like wireshark. that way you can
see whats in the packets going over the wire and hopefully it will lead
to a solution.
-nathan
On Dec 19, 2007 12:54 AM, vixle [EMAIL PROTECTED] wrote:
this code doesn't interact with with php client while with c++ based one it
works just fine.
.anybody?
#include stdio.h
#include winsock2.h
#include iostream
#include process.h
using namespace std;
int i = 0;
int ar = 0;
const int is = 50;
SOCKET stack[is];
void clientserve(void* ws)
{
this code doesn't interact with php client while with c++ based one it
works just fine.
.anybody?
#include stdio.h
#include winsock2.h
#include iostream
#include process.h
using namespace std;
int i = 0;
int ar = 0;
const int is = 50;
SOCKET stack[is];
void clientserve(void* ws)
{
SOCKET
?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
I need to do some socket work on a production machine that is constantly
busy so I don't dare re-compile php. Anybody know if it's possible to load
the socket functions dynamically, maybe as if they were in a module?
Alternatively, would it be possible to compile PHP without apache and with
Am Mittwoch, 2. Mai 2007 13:29 schrieb [EMAIL PROTECTED]:
I need to do some socket work on a production machine that is constantly
busy so I don't dare re-compile php. Anybody know if it's possible to load
the socket functions dynamically, maybe as if they were in a module?
It's possible if
Am Mittwoch, 2. Mai 2007 14:36 schrieb Oliver Block:
--with-socket=shared
Actually it should be --enable-sockets=shared
Regards,
Oliver
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, May 2, 2007 6:29 am, [EMAIL PROTECTED] wrote:
I need to do some socket work on a production machine that is
constantly
busy so I don't dare re-compile php. Anybody know if it's possible to
load
the socket functions dynamically, maybe as if they were in a module?
If you can do
Thanks for the answer.
In the meantime I've managed to solve the problem be removing the
pcntl_wait call. Actually I think this is a bug, because as I
understand things pcntl_wait shouldn't block the main process, but I
don't have experience with either sockets or Unix process, so I might
be
Hello everyone,
I've sent a bug report earlier and it got marked as bogus, so I
decided to ask here about a possible solution. You can see the bug
report at http://bugs.php.net/bug.php?id=40864
Thanks in advance,
Adrian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Tue, March 20, 2007 8:27 am, Adrian Gheorghe wrote:
I've sent a bug report earlier and it got marked as bogus, so I
decided to ask here about a possible solution. You can see the bug
report at http://bugs.php.net/bug.php?id=40864
Looks like a pretty cogent bug report to me...
Perhaps Tony
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
Hi,
I want to implement a client-server relationship between a PHP server
application and another .NET client application.
I want the connection to be kept alive, so I use the socket routine
running till disconnecting. I also want to transfer the data between the
server and client using SOAP
On 7/12/05, daro [EMAIL PROTECTED] wrote:
I don't know where should I put this script to be able to receive all datas
and respond
with proper strings.
You would run the script as a shell script from the command line.
On windows you can just save the code as a regular php script then
start
On Tue, 2005-07-12 at 16:49 +0200, daro wrote:
Hi.
I'm writing a TCP/IP server and client.
On your website I found ready php script http://pl2.php.net/sockets but I
have a question.
For TCP/IP server the example script from your website has to be put on
server as index.php file and the
You should use/run it via PHP-CLI. It is a shell script.
Ex: /usr/local/bin/php socket.php (on linux) or
C:\PHP\php.exe socket.php (on windooz/M$-dos)
Good luck.
Hidayet Dogan
On Tue, 12 Jul 2005, daro wrote:
Hi.
I'm writing a TCP/IP server and client.
On your website I found ready php
On Tue, 2005-07-12 at 09:58 -0500, Greg Donald wrote:
On 7/12/05, daro [EMAIL PROTECTED] wrote:
I don't know where should I put this script to be able to receive all
datas and respond
with proper strings.
You would run the script as a shell script from the command line.
On windows
Please, PLEASE Reply to All!
Yes, you have to add something like
--8-
while(true) {
// code here
if( $someConditionThatWillMakeMeExit ) {
break;
}
sleep(1); // to prevent excessive processor
hi all,
On Tue, 2005-07-12 at 16:49 +0200, daro wrote:
Also remember to set_time_limit(0) ;)
PHP ENTER CONFUSION
The *CLI* version of php has no max execution time by default (0)
- Where's the php CLI version in php4?
[PHP_HOME]/cli/php.exe and it reads a php.ini if it was in the SAME
Since there was no reference to that on the PHP manual, I thought about
mentioning it just to be safe.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi André,
On 7/12/05, André Medeiros [EMAIL PROTECTED] wrote:
Since there was no reference to that on the PHP manual, I thought about
mentioning it just to be safe.
yeah the manual is completely drak when it comes to php CLI binary
--
PHP General Mailing List (http://www.php.net/)
To
On 7/12/05, Ahmed Saad [EMAIL PROTECTED] wrote:
yeah the manual is completely drak when it comes to php CLI binary
`php -h` tells you all the command line options.. and all the basic
fuctionality is covered in the manual online. Seems complete to me.
--
Greg Donald
Zend Certified Engineer
On 7/13/05, Greg Donald [EMAIL PROTECTED] wrote:
`php -h` tells you all the command line options.. and all the basic
fuctionality is covered in the manual online. Seems complete to me.
ehmm you weren't refering to the CLI version but anyways, I'd be
grateful to anyone who points me to more
Hello,
Is there a special newsgroup for socket programming?
regards
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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,
I think curt is right about transfer encoding being a problem, however i
feel it may not be 'the' problem. This timing issue looks like you are
running into a 'blocking' kind of situation. Cosmin, Have you tried the
'Connection: close' header?
Getting back to transfer encoding you might
* Thus wrote Cosmin ([EMAIL PROTECTED]):
On Sun, 2003-10-26 at 15:30, Raditha Dissanayake wrote:
are you getting any 1xx status codes from the web server?
here are the full headers:
Transfer-Encoding: chunked
This is probably the problem. If you inspect your data, you'll
notice that it
are you getting any 1xx status codes from the web server?
Cosmin wrote:
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
code maybe someone
On Sun, 2003-10-26 at 15:30, Raditha Dissanayake wrote:
are you getting any 1xx status codes from the web server?
here are the full headers:
HTTP/1.1 200 OK
Date: Mon, 27 Oct 2003 06:15:30 GMT
Server: Apache/1.3.27 (Unix) PHP/4.3.3
X-Powered-By: PHP/4.3.3
Transfer-Encoding: chunked
Content-Type:
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
code maybe someone could tell me what I'm doing wrong:
=
* Thus wrote Cosmin ([EMAIL PROTECTED]):
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
code maybe someone could tell me what I'm doing
On Sat, 2003-10-25 at 17:42, Curt Zirzow wrote:
* Thus wrote Cosmin ([EMAIL PROTECTED]):
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
Probably your problems about i can send about seven messages per second
may be relationed to
OS's tcp connection stream buffering... try to flush every fd after write to
it. I wrote a multi-threaded (pcntl_fork())
application in phpcli using many sockets and they worked well... array
iterations
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
Hello,
I'm just getting my feet wet with a Dev Shed sockets tutorial
(http://www.devshed.com/Server_Side/PHP/SocketProgramming/page5.html).
I am having a little problem with one of the tutorial code samples,
which should socket_write some text back to the client--except it's not
doing that.
Is it possible to resume persistent sockets opened with pfsockopen?
I really need to know if it's possible to resume a socket from another
script, like if I've saved the socket into a session variable.
Thank You
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ever since PHP 3, I have been using Sockets to pass GET and POST information.
Yes, now that there is the caching ability, I no longer need to do it that
way, however it has never failed me and since I deal with some high visibility
applications, I am reluctant to change.
With my experience
Hi -
I have an problem and I'm not sure how to proceed troubleshooting. I
have a socket connection that I'm making to a local stunnel daemon. The
connection works and is valid until it seemingly dies and the resource
type becomes unknown.
at timestamp: 1044900028.6608 my object has this
Hi,
I really need some help here because I am going to lose my mind otherwise!!
A script that was running fine Friday has decided not to work for no
apparent reason today. The problem seems to be with a socket_create that
just stops the script, so I created a simple test script as shown below to
Hi,
I realise that sockets is still 'experimental' but any help will be much
appreciated. I am developing a queue system to send commands across from a
server to a client using sockets. Problem is that the I keep getting a
'connection reset by peer' error after the first command is sent. The
I'm not sure if it would be helpful, but I wrote a quick PHP socket
application that implements a specialized HTTP proxy. It's a quick
hack of sorts, but I have found it to be very stable, and it uses the
latest sockets API. It consists of only one small PHP script, and
it's fairly well commented.
I am in the beginning stages of writing my first socket based php app from
scratch. However I think I've quickly picked up a bad coding habbit when
reading from sockets. I'm doing the following:
//writing the socket
socket_write ($socket,blah blah$CRLF, strlen ($in));
//sleeping for 1
This is how sockets work, if you close the process holding the socket,
the conection is closed.
There is no function reopen_the_old_conection. You are not clear about
what you are trying to
achive, but maybe you should rethink your design.
Gareth Thomas wrote:
Hi,
I am running 4.3.0pre2 on RH
Hi,
I am running 4.3.0pre2 on RH 7.2 and on Windows2k I am trying to implement a
socket based client/server communication program with the server being on
the Linux side and the current test client on windows (although it will be
on Linux eventually). A series of commands is sent by the client
Hey everyone,
Does anybody know what the current support / functionality for PHP
with sockets is? According to the documentation, all the socket_
functions should be included in PHP = 4.1.0. I'm currently running
4.2.1 and PHP doesn't seem to recognize these functions (socket_send,
socket_write,
Yep, if you're using UNIX and compiling from source, you must add this
switch to the command line when you're configuring and compiling PHP:
--enable-sockets
(e.g.: ./configure --enable-sockets). If you're using a prepackaged
version (RPM or Windows) then you should look into the documentation
Is it possible to read and write to multiple sockets at once with php?
Can anyone please answer that question?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to know, what I have to do to make my application handle
multiple connections?
My current application only handle one user per time.
Sorry about my English, but i live in Brazil, if anybody could help me
answer me [EMAIL PROTECTED] .
Thanky you
--
PHP General Mailing List
Take a look at the pcntl functions. In particular the pcntl_fork()
function.
On Wed, 14 Aug 2002, Gustavo Almeida wrote:
I would like to know, what I have to do to make my application handle
multiple connections?
My current application only handle one user per time.
Sorry about my
Although pcntl and fork() were mentioned, you might want to look at
socket_select() as an alternative. Using socket_select(), you can set up a
multiplexer to handle multiple sockets at the same time. (Or roughly the
same time...)
J
Gustavo Almeida wrote:
I would like to know, what I
I've got a fully functioning socket server that I use for monitoring written in PHP...
email if you want the full script, too big to waste peoples time with here.
---
/* Neunzig neun Möglichkeiten zu sterben
// Ich bin nur ein anderer Zahn in der Maschine. */
On Wed, 14 Aug 2002 15:09:09
On Sat, 6 Jul 2002, Zac Hillier wrote:
I'm opening a port on a remote machine presently I'm using fsockopen() which
is fine for opening the port and sending data however I'm having trouble
reading data back from the port.
So I've considered using socket functions but do not appear to be
Hi All,
I'm opening a port on a remote machine presently I'm using fsockopen() which
is fine for opening the port and sending data however I'm having trouble
reading data back from the port.
So I've considered using socket functions but do not appear to be able to
get a connection. When I run
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
,
etc...
I have seen a couple of other php binary projects(using php sockets),
such as phserv, where an entire web server (like apache) has been
written in nothing but php.
I tried to install these, and they wouldn't run without php compiled
with
--enable-pcntl
Now, it is my understanding
Check out phpserv.
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: 06 May 2002 19:07
To: [EMAIL PROTECTED]
Subject: [PHP] --enabel-pnctl / php sockets
I have recently discovered php's binary capabilities, and am using it to
write a virtual isp management system
Barry Smoke
Project Leader
Vispman.org
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] --enabel-pnctl / php sockets
I have recently discovered php's binary capabilities, and am using it to
write
i have a script that makes a socket connection about halfway through the
page.
nothing on the page prints until the socket operation is finished, even if i
call flush() prior to the socket operation.
does anyone now of a way to force PHP to output the buffer prior to
executing the socket code?
dietrich wrote:
i have a script that makes a socket connection about halfway through the
page.
nothing on the page prints until the socket operation is finished, even if i
call flush() prior to the socket operation.
does anyone now of a way to force PHP to output the buffer prior to
no tables. my test script prints a single string prior to the sockets code.
thx,
dietrich
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 11:12 AM
To: dietrich
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] sockets and flush
.
[EMAIL PROTECTED]
-Original Message-
From: Dietrich Ayala [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 5:39 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] sockets and flush()
no tables. my test script prints a single string prior to the sockets code.
thx
To: dietrich
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] sockets and flush()
dietrich wrote:
i have a script that makes a socket connection about halfway through the
page.
nothing on the page prints until the socket operation is finished, even if i
call flush() prior
Hi..
The error I get is this one:
Fatal error: Call to undefined function: socket()
i'm 100% positive that all my code is correct..
anyone else have this problem, or anyone else NOT having this problem?
I have a win2000 with iis 5.0 and it's latest updates.
the latest version of php
:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 1:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Sockets with windows / win32 - 'call to undefined
function: ...'
Hi..
The error I get is this one:
Fatal error: Call to undefined function: socket()
i'm 100% positive that all my code
Has anyone created a telnet session in php with sockets and can give me some
help on setting one up?
Thank you,
Ray Hunter
Firmware Engineer I
ENTERASYS NETWORKS
Phone: 801.887.9888
Fax:801.972.5789
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www:
On Tue, 19 Mar 2002, Hunter, Ray wrote:
Has anyone created a telnet session in php with sockets and can give me some
help on setting one up?
Take a look at PHP Shell to see how it's done.
http://www.gimpster.com/php/phpshell/index.php
Cheers,
Nick Winfield.
--
PHP General Mailing List
1 - 100 of 137 matches
Mail list logo