|
-
September 9th, 2010, 03:44 PM
#1
tackling XSS
what would be the best way to escape urls and make sure its clean without any cross scripting?
i was thinking including a genric file which would preg_match the url and redirect to an error page with anything that contained script or location.
or
another way would be to use $_SERVER['REQUEST_URI']
OR DO YOU GUYS HAVE A BETTER WAY?
THANKS.
-
September 9th, 2010, 06:04 PM
#2
Re: tackling XSS
Please start searching before posting...It's a waste of our time and makes you have to wait when the answers are already there for you!
http://www.google.com/search?q=php+escape+url
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|