RE: [PHP] Force new page in browser and wait commands

From: Date: Fri, 20 Jul 2001 03:16:17 +0000
Subject: RE: [PHP] Force new page in browser and wait commands
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58823@lists.php.net to get a copy of this message
You could do something like print()'ing or echo()'ing whatever you want into a file, and then sending a header("Location: newpage.php")... just in case you haven't already figured out a solution. By the way, this will not happen on the client end. PHP is server interpreted, so anything you do will be on the server. Hope this helps. Ben -----Original Message----- From: Hugh Danaher [mailto:hdanaher@earthlink.net] Sent: Tuesday, July 17, 2001 4:24 PM To: php-general@lists.php.net Subject: [PHP] Force new page in browser and wait commands Help, I'm new to php, and to writing software in general. Enough said on that. What I want to do, is to have my program wait for user input on a <form> and once data is submitted, to have the browser (IE5) generate a new page. Right now, my program runs straight through input forms and appends everything to the existing page. I now accomplish this by running several connected php programs, but want to do it in one program. I've looked throughout the php manual and website but have yet to find the right commands. Your help is greatly appreciated. Hugh

« previous php.general (#58823) next »