Hi
I have a few clients that have upgraded to PHP 5 for development projects
and I am running into problems with class object naming for all my classes
and COM objects that use '$this->'
$this = new COM ( 'ibmTransate.Server' );
$this->MimeType = 'text/' . ( $key->type == '1' ? 'text' : 'htm
Sorry if this kind of an easy but can someone advise me on how to add a
value for upload_tmp_dir? I have php4.3.4 installed on a w2k3 server
running postnuke and mysql5. I notice in phpinfo.php that upload_tmp_dir
says no value even though the directory is defined in the php.ini file.
This is preve
Heh...
I mean not LISTENING on 80 port! I mean LISTENING on each of these
connections!
For example, My IP is 192.168.18.1 and I try to check port 21 on IP
192.168.18.33.
When I call fsockopen, apache open 2(!) connections:
192.168.18.1:3256192.168.18.1:0LISTENING(3256 -
LISTNING is the state a server (listner) normally
should be in, or do I miss something here?
That you can replicate it on anotehr machines, does not
say that very much. It can still be 1) the network, 2)
wrong handling of sockets in the program, 3) something
else.
I guess I need to have a closer
BAT, I have tried fsockopen and socket_connect on two machines.
First comp has Kerio firewall, and second hasn't any firewall.
Problem persists on each machine.
And I can't look at remote socket... Comp on other end just doesn't exist...
:)
After timeout (when using fsockopen) SYNC_SENT connection
Errr...
I have so bad English??? :)
I doesn't mean 1000 times per second!
I mean 10 times per 2 minutes... So, in 3 hours I'll have about 1000 open
connections!
And the main problem is these opened connections...
Best regards,
Sherry.
>"Trevor Gryffyn" <[EMAIL PROTECTED]> ???/ ? ?
I had posted the following msg at phpnuke.org but nobody reply me.
I not sure izzit suitable to post up here but i am urgently need for help.
My post:
--
I am working on a mo
Ok, I see the nature of the problem now.
You probably get all these SYNC_SENT and TIME_WAIT because
the hand shake is not properly done between the machines.
SYNC_SENT means that the local socket is trying to
established a connection.
TIME_WAIT indicates that no shutdown is (yet) recived
from th
Well, two things come immediately to mind. Using sleep() or
continuously cycling and checking to see if the current time matches
whatever time criteria you need (8:00am, minutes divisible by 10, etc).
Then you don't need to hammer the sockets 1000+ times per second.
-TG
> -Original Message-
Trevor,
I think I have this one licked. Not tested yet, but a little bit of
javascript and it should work like a dream.
Ta for helping me focus.
George
> -Original Message-
> From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED]
> Sent: 7 May 2004 6:22 pm
> To: [EMAIL PROTECTED]
> Cc: George
I don't need 1000 times at once...
But I want to check ports periodically...
For example, every 2 minutes I must check 10 ports... So 1000 times * 2 / 10
= 200 minutes = only 3 hours... :(
So, in one week, I'll have 7*24*60*10/2=50 000 connection in LISTENING
state!
To close these connection, I hav
%man sh
hints: &, fork()
-Original Message-
From: [EMAIL PROTECTED]
To: Svensson, B.A.T. (HKG)
Sent: 10-5-2004 15:34
Subject: How did you realised an asyncron job
Reply-To: [EMAIL PROTECTED]
I am trying to start on LInux an asyncron job.
Here is how I tryed and it didn't worked:
$proc
Why do you need to call a socket 1000 times in order
to find out if a service is available or not?
-Original Message-
From: Sherry
To: [EMAIL PROTECTED]
Sent: 8-5-2004 17:03
Subject: [PHP-WIN] How to check port conection? socket_connect and fsockopen
have problems
Hi, I have Apache 1.3.
13 matches
Mail list logo