Just wondering what the html/php command/tag/code was to auto forward users to the new updated page.
ie: when we submit a thread/reply we are taken to a page that loads, I assume to run specified php code, then we are forwarded back to the thread we just created/replied to. I was just wondering what this "auto-forward" is called, as without knowing what it is, cannot find it in my reference guide.
Just wondering as I am creating a php page, and this function would be very useful to my end users.
Page 1 of 1
Quick html question..possibly for Philipp
#2
Posted 19 July 2001 - 07:58 PM
You can forward with header ("Location: URLHere"); (PHP) or <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=URLHere"> (HTML)
Example (PHP):
Example (HTML):
Example (PHP):
Code:
<? header ("Location: http://www.ntcompatible.com"); exit; ?>
Example (HTML):
Code:
<HTML> <HEAD> <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://www.ntcompatible.com"> <TITLE>One moment...</TITLE> </HEAD> <BODY BGCOLOR=#FFFFFF> </BODY> </HTML>
Share this topic:
Page 1 of 1

Help










