RE: [PHP-WIN] redirecting to a new page

From: Date: Wed, 05 Jun 2002 19:37:39 +0000
Subject: RE: [PHP-WIN] redirecting to a new page
Groups: php.windows 
Request: Send a blank email to php-windows+get-14092@lists.php.net to get a copy of this message
Well, for browsers that support Javascript: print "<SCRIPT>window.location='URL';</SCRIPT>"; Or, you could load the document that you want the user to see and print it out. $contents = join("", file("URL")); print $contents; exit; AFAIK, there's not too many ways to tell a browser "go here instead". 'Location: ...' is by far the reliable. --- Scott Hurring Systems Programmer EAC Corporation ScottH@eac.com Voice: 201-462-2149 Fax: 201-288-1515 > -----Original Message----- > From: Renaldo De Silva [mailto:renaldo@trini.com] > Sent: Wednesday, June 05, 2002 2:44 PM > To: php-windows@lists.php.net > Subject: [PHP-WIN] redirecting to a new page > > > is there any way other than > > header("Location: http://www.php.net/"); > > to redirect to another page. > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#14092) next »