- - - - -

Auto-jump Script In Php?


  • Please log in to reply
5 replies to this topic

#1 rgtanaka

rgtanaka

    Small Orange

  • Members
  • PipPip
  • 16 posts

Posted 07 May 2004 - 06:39 PM

I used your guys' php form generator thing to make a form and I got it to work with the thank you message and everything, but how would you make the form auto-jump back to the main page?  It sort of just gets stuck there.

#2 phlatline

phlatline

    Small Orange

  • Members
  • PipPip
  • 31 posts

Posted 07 May 2004 - 08:16 PM

If I could see the form and know the page you want it to jump to I should be able to help out.

#3 Chris

Chris

    Huge Orange

  • Members
  • PipPipPipPipPipPip
  • 925 posts

Posted 08 May 2004 - 12:56 AM

After you process the form do header("Location: http://example.com");

This is an HTTP header so it must be done before ANY output to the browser.
Chris Hasenpflug
http://chris.hasenpflug.us

#4 rgtanaka

rgtanaka

    Small Orange

  • Members
  • PipPip
  • 16 posts

Posted 08 May 2004 - 01:50 AM

Oh shoot, there's another problem that I didn't see.  It requires a login process in order to submit the form.  Anyone know how to get rid of this?

http://www.ryangtanaka.com/commissions.htm

#5 -ASO- Tim

-ASO- Tim

    Former Head Orange

  • Members
  • PipPipPipPipPipPipPip
  • 5,239 posts

Posted 08 May 2004 - 02:03 AM

Didn't ask me to log in...
Former Owner/Manager
timdorr.com

#6 rgtanaka

rgtanaka

    Small Orange

  • Members
  • PipPip
  • 16 posts

Posted 08 May 2004 - 02:28 AM

Sorry, I just fixed it just now, lol.  Okay sorry I should've gone to support first before asking here.  I would like that billion dollars though!  

I've never worked with php before so I'm not sure what to use for an autojump.  Is it different than an html script?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users