You are here: Re: Output to another window « All PHP « IT news, forums, messages
Re: Output to another window

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

 

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

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