View Single Post
  #3 (permalink)  
Old 07-27-2008, 11:57 PM
sarel sarel is offline
Novice
Join Date: Jun 2008
Posts: 12
iTrader: (0)
sarel is on a distinguished road
Security reasons my also influence your choice between get and post

$_GET, your variables from the form are passed through the URL, there are some security issues related to this as the user can bookmark this page.

&_POST, less of a security risk because there is no URL passing your data from form to server, also the user can't bookmark the submitted page.

I usauly use $_GET for testing purposes to see if the variable are passed through the URL, when variables are pass I change to $_POST.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote