Posted by Guffi on 01/24/07 20:18
Hi
The PHP code is like this in the index-file:
include($id);
How can I secure it, so $id does not contaion an external link (which could
do some harm)
I have tried this: if (stristr($id, 'http') == TRUE) { exit("Hacking -
STOP!!"); }
But this test only work in my brower and does not stop from phishing :-(
Can someone please help me out here !!??
[Back to original message]
|