1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I am sending some posted form data to a php script that updates some mysql tables. I would like to know how to automatically load another php page or redirect to another page.
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Header("Location: http://some.other/page/");

    This should do the trick. Make sure you call it before *any* HTML (even blank lines, etc) is displayed. Or it won't work.
  4. #3
  5. No Profile Picture
    Ulrik N
    Devshed Newbie (0 - 499 posts)
    Just print or echo this line and nothing else. That workes for me...

    <meta http-equiv='Refresh' content='0; URL=http://some.address.html'>


Similar Threads

  1. Replies: 11
    Last Post: February 21st, 2004, 06:48 AM
  2. Replies: 0
    Last Post: February 8th, 2004, 10:11 PM
  3. Replies: 5
    Last Post: January 23rd, 2004, 11:22 AM
  4. passing the url from HTML page to a php
    By lordorkus in forum PHP Development
    Replies: 10
    Last Post: January 20th, 2004, 05:36 PM
  5. Replies: 4
    Last Post: January 6th, 2004, 03:56 PM

IMN logo majestic logo threadwatch logo seochat tools logo