Topic: post question with $_SERVER['PHP_SELF'] (Read 1414 times)
OMG!I am geek
Posts: 53
406 credits Members referred : 0
« on: Apr 23, 2008, 11:28:38 pm »
when using the
Code:
$_SERVER['PHP_SELF']
to post in forms and having the form use file.php?type=something to generate a certain things is there a way to have it go back to file.php?type=something insted of going back to just file.php?
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
Community Supporter?
Hunky Junky Monky Man!
Gender:
Posts: 68
436 credits Members referred : 0
Schwa?
« Reply #2 on: May 05, 2008, 07:30:26 am »
Of course, you should always filter anything you get from $_SERVER. For the most part, $_SERVER can be considered as un-safe as $_POST or $_GET. Just a helpful tip.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7708