is there anyway to set the time out on a script before the php timeout of 30 seconds kicks in??
ini_set("max_execution_time",0);
0 = unlimited
anyother +ve number = that many seconds
edit:
give at top of your php code
<?php ini_set("max_execution_time",0); //............. //............. //............. ?>
One question you might want to ask yourself is why is the script taking longer than 30 seconds to complete?
Rather than just increasing the timeout try and find out why its taking so long?
HTH
GM
it is connecting to a server, and sending and recieving som data.