RE: [PHP] Forms and IE

From: Date: Mon, 11 Feb 2002 04:54:50 +0000
Subject: RE: [PHP] Forms and IE
Groups: php.general 
Request: Send a blank email to php-general+get-84229@lists.php.net to get a copy of this message
Well, damn. When I read your suggestion I didn't quite accept it. I thought no, it would return an error if it couldn't find the page, but with nothing to lose I tried it. And it worked. Thank you. Thanks a lot.
From: Martin Towell <martin.towell@world.net> To: 'Sean Hurley' <cyberfarer@hotmail.com>, php-general@lists.php.net Subject: RE: [PHP] Forms and IE Date: Mon, 11 Feb 2002 15:48:17 +1100 might be the header("location..."); bit - you might need to specify the full address -----Original Message----- From: Sean Hurley [mailto:cyberfarer@hotmail.com] Sent: Monday, February 11, 2002 3:40 PM To: php-general@lists.php.net Subject: [PHP] Forms and IE Please forgive me if this has been covered before. I have searched the list and could not find reference to a similar problem. I am completetly new to PHP and I am stuck. I am creating a very simple form. Essentially the user agrees or disagrees to a message. If the user agrees, they are sent to another form. It they disagree they are sent home. My script works with Netscape and Opera but not Internet Explorer (ver 6.0.2) and I cannot figure out why. As I said it is very simple and the relevant parts are displayed as follows: <form method="post" action="agree.php> ...... I have read the terms and Agree <input type="checkbox" name="agree[]" value="agree"> I Do Not Agree <input type="checkbox" name="disagree" value="disagree"> <input type="submit" name="submit" value="Submit"> ....... "agree.php" <? if ($agree) /* (I have tried this also with ($isset = $agree)) */ { header ("location: ?link=form"); } else { header ("location: /LETS"); } ?> As I said, this works fine with Netscape and Opera but not IE. Any suggestions and/or advice is appreciated. Thanks. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

« previous php.general (#84229) next »