Copy this code and paste it in your HTML
// Prevent any possible XSS attacks via $_GET.
foreach ($_GET as $check_url) {
if ((eregi("<[^>]*script*\"?[^>]*>", $check_url)) ||
(eregi("<[^>]*object*\"?[^>]*>", $check_url)) ||
(eregi("<[^>]*iframe*\"?[^>]*>", $check_url)) ||
(eregi("<[^>]*applet*\"?[^>]*>", $check_url)) ||
(eregi("<[^>]*meta*\"?[^>]*>", $check_url)) ||
(eregi("<[^>]*style*\"?[^>]*>", $check_url)) ||
(eregi("<[^>]*form*\"?[^>]*>", $check_url)) ||
(eregi("\([^>]*\"?[^)]*\)", $check_url)) ||
(eregi("\"", $check_url))) { }
}
and this one ? ;-)
have fun skymuss
and this one ? ;-)
have fun skymuss
and this one ? ;-)
have fun skymuss
this is very simple, but better then nothing