i need help with timing problems i think

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Gavin
New php-forum User
New php-forum User
Posts: 3
Joined: Tue Aug 26, 2003 11:55 am

i need help with timing problems i think

Postby Gavin » Tue Aug 26, 2003 12:00 pm

hi all who read this,

today i have been trying to code a IRC Server BOT in PHP Language and all has Sucessfully been working but i have one problem which is when the BOT is connected to the IRC Server it can only stay connected for 60seconds (1minute) and then disconnects itself from the server and i have no idea why.

please can someone help me

many thanks
Gavin!.

Joel
New php-forum User
New php-forum User
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand
Contact:

Postby Joel » Tue Aug 26, 2003 12:20 pm

PHP ini of the server its probably set to time out after 60 seconds.

Gavin
New php-forum User
New php-forum User
Posts: 3
Joined: Tue Aug 26, 2003 11:55 am

Postby Gavin » Wed Aug 27, 2003 1:06 am

hu?

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Wed Aug 27, 2003 5:50 am

PHP.ini (PHP's configuration file) and possibly your server configuration file (e.g. httpd.conf) have a setting that says how long a client connection can be open before it times out. If your bot only stays connected for 60 seconds, then there's a good chance that your timeout is set to 60 seconds. So open your configuration files and find out.

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

see!!!

Postby ruturajv » Wed Aug 27, 2003 9:56 pm

see!! we need a group for server related queries!!
:)


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest