Dasher
11-10-2007, 09:12 PM
Is there a common method to test a $_GET variable to be plain text and not a url or file. I want to improve the security of passing variables to a page, so that someone can't introduce a url into the string.
I had a page where I would provide a file name for a pictures, and then four lines of comments. It occurred to me that that could be a security issue.
I made a test to insure that the picture file exists on the current server (Thanks to NogDog ), but am kind of stumped on the string data.
I had a page where I would provide a file name for a pictures, and then four lines of comments. It occurred to me that that could be a security issue.
I made a test to insure that the picture file exists on the current server (Thanks to NogDog ), but am kind of stumped on the string data.