php redirect

Create a php file, then put folowing inside the php tag:

header("Location: newlocation.html"); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
exit;

Related posts:

  1. PHP memo to myself
  2. Very Basic PHP
  3. MySQL PHP example
  4. Adding HD
  5. MySQL data format to display format in PHP
This entry was posted in Linux, Mac, and LAMP Open Source. Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Welcome to Daigo’s Daily Digital Diorama. I blog about... whatever that comes to my mind.
  • Change color

    Purple Red Green Blue No Style

  • Archives

  • Calendar

    March 2006
    M T W T F S S
    « Feb   Apr »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Categories