Compatible Support Forums: Quick html question..possibly for Philipp

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Quick html question..possibly for Philipp

#1 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

Posted 19 July 2001 - 07:21 PM

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.
0

#2 User is online   Philipp 

  • Pooh-Bah
  • Group: Administrators
  • Posts: 1964
  • Joined: 15-July 99

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):
Code:
<? 
header &#40;"Location&#58; http&#58;//www.ntcompatible.com"&#41;;
exit;
?>


Example (HTML):
Code:
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http&#58;//www.ntcompatible.com">
<TITLE>One moment...</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF>
</BODY>
</HTML>

0

#3 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

Posted 19 July 2001 - 09:00 PM

you da man Philipp!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users