RE: [PHP] Can PHP execute a refresh to a new page?

From: Date: Sat, 17 Feb 2001 07:04:56 +0000
Subject: RE: [PHP] Can PHP execute a refresh to a new page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40289@lists.php.net to get a copy of this message
i've been using the header("...") approach myself, but was curious to see if there's a builtin PHP function that will accomplish the same thing.... im a kind-of new PHP programmer, and havent really been exposed to too much of the language yet, but i found it quite odd that such a function seems to be absent from the core language, since it's a web based language... and moving a browser from one URL to another is quite common among web scripts. > -----Original Message----- > From: Chris Lee [mailto:lee@mediawaveonline.com] > Sent: Friday, February 16, 2001 20:01 > To: php-general@lists.php.net > Subject: Re: [PHP] Can PHP execute a refresh to a new page? > > > HTTP can also tell a broswer to 'refresh' > > <? > header("Location: http://$SERVER_NAME$PHP_SELF"); > ?> > > > -- > > > Chris Lee > Mediawaveonline.com > > em. lee@mediawaveonline.com > > ph. 250.377.1095 > ph. 250.376.2690 > fx. 250.554.1120 > > > ""Kenneth R Zink II"" <Hellcat1@EV1.Net> wrote in message > news:014501c09890$cf4322d0$2047ced8@telescan.com... > Can PHP execute a refresh to a new page? > > If so, how? > > Thanks. > > Kenneth R Zink II Hellcat1@S-Series.Org ICQ# 5095094 > '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! > http://www.s-series.org/htm/windstorm/project-windstorm.htm > '85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI DIS !!! > http://www.s-series.org/htm/firestorm/firestorm.htm > Racing by the Grace of God!! > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40289) next »