|
Posted by J.O. Aho on 02/01/06 19:36
astromac wrote:
> I'm new to php and was wondering if the following was possible...
>
> I would like to have a list of items loaded from a text file, process
> each item in the list and then return the processed result to a new
> window so that the new window displays the results
<a href="http://www.example.net/index2.php" target=_new>Click here</a>
> one by one, until it is done processing the list.
You will need to keep count on the row you are at and create link back to the
page with the number of the next page (this on the new page, not the old one)
<a href="http://www.example.net/index2.php?nextpage=2" target=_new>Click here</a>
In the index2.php (you can call it what ever you want), you process only one
line at the time, depending on the value of $_POST['nextpage'] you will know
which line in the textfile to process.
> I want possible?
Yes, I think so.
//Aho
[Back to original message]
|