Reply to Re: serious problem need help.

Your name:

Reply:


Posted by Jerry Stuckle on 10/18/06 10:27

Bob Bedford wrote:
>>You don't "launch another page with exec()". Rather, you redirect to the
>>new page with header('Location: pagename').
>>
>>Just be sure you don't create any output before this. And you can save
>>the data you're working on in the session (or pass it as GET parameters).
>
>
> I wanted to avoid to redirect as I've to pass by all records I've already
> done every time I call the script again and this will be very long.
>
> I've got an other answer it has been said to "refresh" the page. Will first
> look at fsockopen then at this solution. Maybe I'll do both.
>
> Thanks.
>
> Bob
>
>
>

Yes, I understand it would be a hassle to skip over already-processed
records. It's one reason I suggested saving the info in your session.
Once you've processed a record you can remove it from the "to be
processed" list (and if necessary add it to a "completed" list).

Refresh is just redirect to the same page, which you can do, also. But
fsockopen() won't help. The process doing the fsockopen() will still
time out after 10 seconds. You need to actually transfer control to
another page (or the same one again).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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