liamloveslearning Posted May 18, 2008 Share Posted May 18, 2008 hey guys, here i have a form, everything seems correct on it only it wont post, i have an inkling into what it is only i need osme expert advice, any help is great, thanks <form name="send" method="post" action="file:///C|/Users/Liam/AppData/Local/Temp/Rar$DI31.219/compose.php"> <table width="80%"> <tr> <td width="150px" align="left" valign="top"><p>Username</p></td> <td width="" align="left" valign="top"><input name="username" type="text" id="username" value="<?php echo "$reciever"; ?>"></td> </tr> <tr> <td width="150px" align="left" valign="top"><p>Subject</p></td> <td width="" align="left" valign="top"><input name="subject" type="text" id="subject" value="<?php echo "$subject"; ?>"></td> </tr> <tr> <td width="150px" align="left" valign="top"><p>Message Body</p></td> <td width="" align="left" valign="top"><textarea name="message" type="text" id="message" value="" cols="50" rows="10"></textarea></td> </tr> <tr> <td></td> <td><input type="submit" name="Submit" value="Send Message"></td> </tr> </table> </center> </form> i think the problem is <form name="send" method="post" action="file:///C|/Users/Liam/AppData/Local/Temp/Rar$DI31.219/compose.php"> to me the action doesnt seem right, im a "newbie" to this however, Thanks again Link to comment https://forums.phpfreaks.com/topic/106196-solved-form-wont-post/ Share on other sites More sharing options...
DarkWater Posted May 18, 2008 Share Posted May 18, 2008 action="compose.php" If they're in the same directory. Use relative paths on the action attribute, it's easier. Link to comment https://forums.phpfreaks.com/topic/106196-solved-form-wont-post/#findComment-544301 Share on other sites More sharing options...
liamloveslearning Posted May 18, 2008 Author Share Posted May 18, 2008 ahh thanks! I dont know why or how it solved but it has thanks! Link to comment https://forums.phpfreaks.com/topic/106196-solved-form-wont-post/#findComment-544307 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.