Jump to content

Difference Between Action="$_server['php_self']" And Action="page With Form.php"


siberneil

Recommended Posts

The only real differenc is the fact that the second one requires you to change pages.The php_self one allows your form-handling script to be on the same page as the form, which I find easier to write, but the other way works, too. Using php_self is called the Redux method. Google "Ullman redux" for a tutorial.

Link to comment
Share on other sites

Also if you use PHP_SELF if you change the page name you don't have to also modify the action.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...