NYCPHP Meetup

NYPHP.org

[nycphp-talk] $_SERVER['PHP_SELF'} not working?

csnyder chsnyder at gmail.com
Thu Jul 21 10:53:05 EDT 2005


This also means that if you use $_SERVER['PHP_SELF'] as the url for a
<form> action, you'd better make sure you filter it using
htmlentities(). One urlencoded doublequote would open you up to a
cross-site scripting attack.

You really did open a can of worms, Michael!



More information about the talk mailing list