Actually , problem solved - turns out IIS was configured to use two different php installations on the server(?), one of which had a different php.ini file and so people who were handled by that 'installation' couldn't post data. Weird. -----Original Message----- From: Baiocchi, Justin (CSIRO IT, Armidale) Sent: Monday, 8 November 2004 3:39 PM To: php-windows@xxxxxxxxxxxxx Subject: Form data not being submitted Hi, I have a nasty little problem. Some user which connect to my website are unable to use the forms to submit any data - it works fine for some people, but nothing happens for others. It just goes back to the form page but no data is submitted. It's using PHP 4.3.4 Register Globals are on (it's just an intranet). Below is an example of one of the forms that don't work for some people: <FORM ACTION="<?php echo($PHP_SELF); ?>" METHOD=POST> <table border="1" width="55%" bgcolor="#0D9BA4"> <tr> <td width="43%"><b>First Name</td> <td width="57%" align="center"><input type="Text" name="fname"></td> </tr> <tr> <td width="43%"><b>Last Name</td> <td width="57%" align="center"><input type="Text" name="lname"></td> </tr> <tr><td width="43%"><b>Away From: (click calendar icon)</td> <td width="57%" align="center"> <input name="start" type="date" size="10"><a href="javascript:NewCal('start','yyyymmdd')"><img src="untitled.bmp" width="16" height="16" border="0" alt="Pick a date"></a></td> </tr> <tr> <td width="43%"><b>Return Date: (click calendar icon)</td><td width="67%" align="center"> <input name="end" type="date" size="10"><a href="javascript:NewCal('end','yyyymmdd')"><img src="untitled.bmp" width="16" height="16" border="0" alt="Pick a date"></a></td> </tr> <tr> <td width="43%"><b>Details (location/contact number etc)</td> <td width="57%" align="center"><textarea name="comment" cols="25" rows="3"></textarea></td> </tr> </table> <br> <input type="Submit" name="submit" value="Enter your details" style="background-color:#0D9BA4;color:#FFFFFF;font-weight: bold"> </FORM> <?php if ($submit) { $dbcnx = @mysql_connect( "localhost", "root", "password"); mysql_select_db("movements"); $sql = "INSERT INTO details SET fname='$fname', lname='$lname', start='$start', end='$end', comment='$comment'"; mysql_query($sql); echo "<b>Thank you, your travel details have been recorded.</b>"; } Thanks Justin -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php