#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    10
    Rep Power
    0
    After I run a routine in PHP, how do I call an automatic return to the last screen i.e. history.back()
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    Annapolis, Maryland US
    Posts
    113
    Rep Power
    15
    print"<a href="$HTTP_REFERER">Go Back</a>";
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    9
    Rep Power
    0
    He said AUTOMATIC, Kyuzo.
    Gjs, I'm not sure if this works, but try this:

    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
    <SCRIPT LANGUAGE="JavaScript">
    function GoBackAuto() {
    history.back();
    }
    </SCRIPT>
    <BODY ONLOAD="GoBackAuto();">
    .. script goes here ..
    </BODY>
    [/code]
    Bye,

    Marc aka Foddex

    ------------------
    ++++++++++++++++++++++++++++++++++++++++
    ceterum censeo linguam c++ esse delendam
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Englewood, CO
    Posts
    30
    Rep Power
    15
    Alternatively, grab the referring URL and build a <META> tag to send the browser to the referring URL after x seconds.

    -TM


Similar Threads

  1. How do I make the setup.exe auto run?
    By slconsult in forum .Net Development
    Replies: 1
    Last Post: February 27th, 2005, 04:03 AM
  2. Replies: 6
    Last Post: March 18th, 2004, 06:58 PM
  3. how to auto adjust resolution of web page??
    By tulip in forum ASP Programming
    Replies: 2
    Last Post: February 5th, 2004, 08:17 AM
  4. Bob's Auto Parts
    By nicknike in forum PHP Development
    Replies: 1
    Last Post: January 19th, 2004, 04:40 PM
  5. Setting auto increment
    By cube96 in forum MySQL Help
    Replies: 3
    Last Post: March 18th, 2001, 08:45 AM

IMN logo majestic logo threadwatch logo seochat tools logo