Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
  • Hi there, just joined and need some quick advice! (In: Members Lounge)
  • PHP or ASP (In: General Search Engine Optimization)
  • what is best php or html? (In: General Search Engine Optimization)
  • Quick way to the top of a Y! Directory Category! (In: Yahoo!)
  • Featured Web Site Template

    Hundreds More at Free Site Templates.com!

    Web Site Partners
    Sponsored Links
    Jet City Software
     
    Whos Here ?
    Reflects user activity within the last 5 minutes
    Moderator(s): Prowler, jcokos
    Member Message

    chinedu85
    Joined: Jan 28, 2004
    # Posts: 28

    View the profile for chinedu85 Send chinedu85 a private message

    Posted: 2004-Jun-07 19:26
    Edit Message Delete Message Reply to this message

    I need to know the quick code to send a user to a different website after they complete a form.

    Basically instead of taking them to a thank you page via:

    ex: include('thankyoupage.htm');

    I want to direct them to a new domain:

    ex: http:www.abdd1234.com

    Do I need to just swap out the "include" with something else?

    I'm kinda new to this, thanks for the help.



    davaddavad
    Joined: Aug 02, 2001
    # Posts: 928

    View the profile for davaddavad Send davaddavad a private message

    Posted: 2004-Jun-07 19:34
    Edit Message Delete Message Reply to this message

    On the thankyoupage.htm put a hyperlink to the new url you are pointing them to:


    <a href="http://www.aaabbbetc.com">



    chinedu85
    Joined: Jan 28, 2004
    # Posts: 28

    View the profile for chinedu85 Send chinedu85 a private message

    Posted: 2004-Jun-07 19:40
    Edit Message Delete Message Reply to this message

    is there another way? I don't want to even send them to a thank you page.



    davaddavad
    Joined: Aug 02, 2001
    # Posts: 928

    View the profile for davaddavad Send davaddavad a private message

    Posted: 2004-Jun-07 19:51
    Edit Message Delete Message Reply to this message

    I think you can use javascript and either find or write a function that will do what you want.
    Here is a place to start:

    http://hotwired.lycos.com/webmonkey/98/04/index3a_page7.ht



    NEntropy
    Joined: Dec 08, 1999
    # Posts: 1117

    View the profile for NEntropy Send NEntropy a private message

    Posted: 2004-Jun-09 05:00
    Edit Message Delete Message Reply to this message

    If you don't send any information back, you can use the header() function. (What I mean is that you don't display *ANY* data back to the user before running the header function)

    Just do something like


    Code: [copy]







    g1smd
    Staff
    Joined: Jul 28, 2002
    # Posts: 10418

    View the profile for g1smd Send g1smd a private message

    Posted: 2004-Jun-17 21:36
    Edit Message Delete Message Reply to this message

    The header command is what you require.

    It bounces the user straight over to the new page.


    You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
    1. You have not yet logged in, or registered properly as a member
    2. You are a member, but no longer have posting rights.
    3. This is a private forum, for which you do not have permissions.

    If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

    If you cannot find this message, click here to Re-Send it.

    If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

    Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

    New posts Forum is locked
    © 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions