about POSt and Get

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

about POSt and Get

Post by bugthefixer »

i want two knw about wat does exactly html attribute 'method' means
and wats the diference between get and post...
one more thing i get error message
The requested method POST is not allowed for the URL /main.html.
wat does tat mean
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post by Illusionist »

i dont knwo where your getting that error.... but the mthod, in an html form, is teh way the data is passd on to the next page. GET, passes through the url, and POST, passes invisibly... to get data from either, all you do is use $_POST'form_name'] or $_GET['form_name']
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

do you get the error if you simply put main.html?
Post Reply