1
DerekM
redirect
  • 2003/12/11 0:57

  • DerekM

  • Just popping in

  • Posts: 13

  • Since: 2003/7/22


How would i add meta content to a page without it effecting the entire site.

I have this on every page and need to add a meta redirect, or can anyone suggest a redirect that doesn't involve the header.

<?php
include("mainfile.php");
include("header.php");
?>
then at the bottom
<?php
include("footer.php");
?>

and heres what i want to include in the header...
<META HTTP-EQUIV="refresh" content="2;URL=http://www.website.com/newpage.htm">

can anyone help me?

2
Mithrandir
Re: redirect

anything wrong with the redirect_header function?

Otherwise just use the php header() function - it should work, since the mainfile and header and included files don't output anything.

3
DerekM
Re: redirect
  • 2003/12/11 2:14

  • DerekM

  • Just popping in

  • Posts: 13

  • Since: 2003/7/22


ok thanks, my main problem was doing a timer, i didn't know it was possibly with a header(). thanks.

Login

Who's Online

216 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits