You are here: Re: fsockopen() Cookie problem Maximum execution time of 30 seconds exceeded « All PHP « IT news, forums, messages
Re: fsockopen() Cookie problem Maximum execution time of 30 seconds exceeded

Posted by Thorak on 03/20/07 20:53

On Mar 20, 1:01 pm, "J.O. Aho" <u...@example.net> wrote:
> Thorak wrote:
> > Im having a wierd problem with one of my php scripts opening a socket
> > connection with session variables. My page is continualy returning
>
> > Fatal error: Maximum execution time of 30 seconds exceeded in "bla bla
> > bla" line 43
> > line 43 is: $html .= fgets($fp, 4096); incase you need to know (i have
> > stripped alot of the comments out of the included code below)
>
> This means that reading the file takes longer than 30 sek and in the php.ini
> it's set to that the script is only allowed to be executed in a timespan that
> is at most 30 sek.
>
> This has nothing to do with cookies nor sessions.
>
> --
>
> //Aho

actually, as mentioned - if i remove the Cookie:
PHPSESSID=c32fc53d15e03ba25f1ad6be035a7eb1 from the headers sent in
the fsockopen there is no timeout error and the page loads fine - just
with no form fields filled in - Can you explain why this is then???

also - changed the timeout to be 60 seconds and then tried 120
seconds.... still came back with an error!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация