Skip 'Insertion' Page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jflash

    Skip 'Insertion' Page

    On my website, I have a form where the user inputs information. The
    information is then posted using the file insert.php, then displayed
    using output.php. However, I would like to redirect the user from
    insert.php to output.php without them having to manually enter the new
    address. I have tried using JavaScript to no avail. Is there any way to
    do this?

  • Johnny

    #2
    Re: Skip 'Insertion' Page


    "jflash" <ki4hrg@gmail.c omwrote in message
    news:1160278366 .242621.316070@ e3g2000cwe.goog legroups.com...
    On my website, I have a form where the user inputs information. The
    information is then posted using the file insert.php, then displayed
    using output.php. However, I would like to redirect the user from
    insert.php to output.php without them having to manually enter the new
    address. I have tried using JavaScript to no avail. Is there any way to
    do this?
    >
    so enter data on form, submit posts to insert.php which saves stuff and then
    before any output to browser does a header redirect to output.php ?
    <?php header("Locatio n: http://www.example.com/output.php"); ?>




    Comment

    • jflash

      #3
      Re: Skip 'Insertion' Page

      That worked perfectly. Thanks!

      On Oct 8, 12:44 am, "Johnny" <removethis.huu an...@hotmail.c omwrote:
      "jflash" <ki4...@gmail.c omwrote in messagenews:116 0278366.242621. 316070@e3g2000c we.googlegroups .com...On my website, I have a form where the user inputs information. The
      information is then posted using the file insert.php, then displayed
      using output.php. However, I would like to redirect the user from
      insert.php to output.php without them having to manually enter the new
      address. I have tried using JavaScript to no avail. Is there any way to
      do this?so enter data on form, submit posts to insert.php which saves stuff and then
      before any output to browser does a header redirect to output.php ?
      <?php header("Locatio n:http://www.example.com/output.php"); ?>
      >
      http://us3.php.net/manual/en/function.header.php

      Comment

      Working...