harshpandya Posted June 5, 2008 Share Posted June 5, 2008 if ($_SERVER["REQUEST_METHOD"] == "POST") What does this line do --- Please give detailed explaination No Help on Google what does it do Thanks, Link to comment Share on other sites More sharing options...
Synook Posted June 6, 2008 Share Posted June 6, 2008 It checks whether the page has been called through POST (as opposed to GET, HEAD, etc).When you type a URL in the menu bar, the page is called through GET. However, when you submit a form with method="post" the action page is called with POST. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.