Reply to Re: Help with big inserts ....

Your name:

Reply:


Posted by Andrew Cameron on 12/06/05 00:49

Freebird wrote:
>>How about:
>>The insert should start at a given row number and end after 100 rows. The
>>script would then call itself with header() and the number of the last row
>>inserted + 1.
>
>
> Did not work, I even did a script that would header location every 1 insert
> to be SURE that the page will not expire, but header location just doesn't
> load the page, doesn't work at all, does anybody have an example of that ??
> Like I said, any piece of code will help, remembering that I can't use
> set_time_limit, and header location did not work for me.
> Can anyone PLEASE, help me, it seems to be something impossible, I've asked
> in everywhere, to everyone, and nothing.

Have you tried setting up a test rig with the header() idea? I can't
see any reason why that wouldn't work unless there's something about
your code that you haven't told us. A simple test script where you run
a query, output the SQL, then output an indicator that you are trying to
redirect should sort out where your problem is.

Hell, it may even be that you have ob_start() on to prevent anything
being sent to the browser before the header, but your script is actually
dying before it sends anything. We can't possibly know these things
without either (a) an actual code snippet or (b) your actual test script
that you have tried but has failed.

Andrew Cameron

[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

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