Usually when posting forms in php I use
<form action="" method="POST">
//somtehing something
</form>
But in the last few hours while surfing stackoverflow I encountered two different threads both of which claiming one method more secure over other. Now I am confused which one is secure method
First post was claiming that form
action=""
is more secure over form
action="<?$_SERVER['PHP_SELF']"
Now I am confused which one should I go with. I request some senior members here to throw some light on this topic. And please also explain if I use one method over another then why it is more secure