Posted by Al on 02/01/06 19:09
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, one by one, until
> it is done processing the list.
>
> I considered javascript but the whole client-side/server-side divide
> seems difficult for this newbie to figure out. Is what I want possible?
Unfortunately you don't give a lot of details here. It'd be nice to
know what the processing IS exactly. And why you need a new blank
window. What's wrong with the window that the page loads in? How is the
page to be called? Just loading it or is there a form to submit?
Still look into the output buffering and flush stuff on www.php.net for
the "processing one by one" thing. And maybe if it's a form submittal
look into doing <form target="_blank" ... > and if it's not you'll
pretty much HAVE to use javascript to open that new window.
Navigation:
[Reply to this message]
|