Close

Results 1 to 3 of 3
  1. #1
    DF VIP Member devs's Avatar
    Join Date
    Jul 2001
    Location
    uk
    Posts
    1,167
    Thanks
    54
    Thanked:        7
    Karma Level
    336

    Default Redirecting a CGI form? How!

    Hi people I've got a problem redirecting a form on a HTML page, I've tried the…

    <input type="hidden" name="redirect2" value="mypage.html">

    The form is calling to a cgi script…

    <form action="mypage.cgi?tasks" method="post" name="_form" onsubmit="return staffSelect(this)">

    How can I stop the form from redirecting on Submit to the default area?

    Any help welcome!

    Cheers,

  2. #2
    DF Rookie maxking's Avatar
    Join Date
    Aug 2002
    Location
    Sousse, Tunisia
    Posts
    17
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default

    I dont know if you have sorted your problem out with the redirection when you press submit, but if not, i would need more information from you about this, for example when you press submit, it is going to be redirect to a cgi-bin script, this is normal, now if you have a cgi-bin script, at the begining of the form that submit is in you would put the full URL of the cgi-bin script like:

    <FORM name=f action=http://mail.emailacc.com/src/redirect.php method=post>

    Do you understand what i am saying ?

  3. #3
    DF VIP Member devs's Avatar
    Join Date
    Jul 2001
    Location
    uk
    Posts
    1,167
    Thanks
    54
    Thanked:        7
    Karma Level
    336
    Hi Paul, yes I managed to get the problem sorted. A friend of mind in the US sorted it for me - I'm not sure how he did it?

    Thanks Anyway Mate,

Similar Threads

  1. Replies: 0
    Last Post: 6th January 2003, 11:56 PM
  2. where can you buy swords form the uk online?
    By arv2k in forum Home Audio/Video, Electronic Toys & Gadgets
    Replies: 4
    Last Post: 1st October 2002, 04:24 PM
  3. Redirecting a CGI form? How!
    By devs in forum Website Coding & Graphics
    Replies: 1
    Last Post: 2nd September 2002, 02:02 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •