Jump to content

mina

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by mina

  1. The post method submits your form info into the next page invisibly to the web user.  The get method submits your form info to the next page using the url address.  You have proabably seen many pages who's addresss looks like http://www.domain.com?variable=33&name=john&etc=otherstuffAll of the "?variable=33&name=john&etc=otherstuff" stuff on the end of those addresses are form information being passes along automatically by the get method of html forms.So to try this fix, just change the first line of your script to <form action="feedback.php" method="get">You will also have to check your page feedback.php.  It may have lines retrieving the form info.  Those commends look something like "$variable = $_POST['Comments'];".  If that feedback.php page does contain these commands you need to change POST to GET.  ($variable = $_GET['Comments'];Let me know if you have additional questions.

    Now it sends me to my php page when I press 'Submit' :S Incase the php's been disabled is there any other type of form that submits when you press the button and doesn't ask you to sign in?
  2. I've searched almost every site on the internet and I cant seem to find a PHP form that actually works :S The ones I've tried keep ending up with a 405 Method Not Allowed error :)I dont know how any PHP so I dont know how to correct it.This is the code of the form I'm currently using-<form action="feedback.php" method="post"><table border="0" cellpadding="8" cellspacing="8" summary="feedback form"><tr><td>Name:</td><td><input type="text" name="name" size="25" /></td></tr><tr><td>Email address:</td><td><input type="text" name="email" size="25" /></td></tr><tr><td colspan="2">Comments<br /><textarea rows="15" cols="45" name="comments"></textarea></td></tr><tr><td align="center" colspan="2"><input type="submit" value="Send Feedback" /><br /><a href="http://www.thesitewizard.com/">Powered by thesitewizard.com</a></td></tr></table></form>Link to the form- http://www.freewebs.com/gatecity2/cform.htmlAnd the php file- http://www.freewebs.com/gatecity2/feedback.phpI'm getting the 405 error on the form, if anyone can help me correct the error it would be very appreciated :)

×
×
  • Create New...