AAARGH! : Works with Apache (Linux) but NOT in IIS 5.0

From: Date: Mon, 07 Aug 2000 07:46:10 +0000
Subject: AAARGH! : Works with Apache (Linux) but NOT in IIS 5.0
Groups: php.general 
Request: Send a blank email to php-general+get-10421@lists.php.net to get a copy of this message
Hi All Getting MAD: I have the simplest of forms with a mail() call to send the results off to my e-mail address. Works perfectly, but in IIS 5.0 (PHP4 ISAPI) the variable creation from the 'name=blabla' doesn't seem to work. I say: if ($submit) { echo "Whaddup Bitch" } Even that doesn't work. Herewith the file which works in Linux, but not in IIS5.0: <form method="post" action="<? echo $PHP_SELF ?>"> <table> <tr><td>NAME:</td><td><input type="text" size="15" name="name"></td></tr> <tr><td>LAST YEAR AT GLENWOOD:</td><td><input type="text" size="4" name="year" value="19"></td></tr> <tr><td>ADDRESS:</td><td><textarea cols="15" rows="6" name="address"></textarea></td></tr> <tr><td>SINGLE PAYMENT: R</td><td><input type="text" size="15" name="payment"></td></tr> </table> <input type="submit" value=" Pledge" name="submit"> <? mail("user@host.com", "Pavilion Pledge: ".$name, "Name: $name\nYear: $year\nAddress: $address\nPayment: $payment"); ?> </form> __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/

« previous php.general (#10421) next »