Topic: post question with $_SERVER['PHP_SELF'] (Read 172 times)
Cyberpunk Wannabe
Posts: 45
342 credits Members referred : 0
« on: Apr 24, 2008, 12:28:38 AM »
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: 7824
39879 credits Members referred : 3
Community Supporter?
OMG!I am geek
Gender:
Posts: 56
364 credits Members referred : 0
Schwa?
« Reply #2 on: May 05, 2008, 08: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