Jump to content

Kyo765

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Kyo765's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [code] <?php error_reporting(E_ALL); function SafeGurad($tempinput) { $tempinput = str_replace("%20","",$tempinput); $tempinput = addslashes($tempinput); $tempinput = str_replace("javascript","No_Java_Script_Allowed!",$tempinput); $tempinput = str_replace("</script>","No_Script_Allowed!",$tempinput); $tempinput = str_replace("<script>","No_Script_Allowed!",$tempinput); $tempinput = str_replace("SELECT * FROM","No_SQL_Script_Aloud!",$tempinput); $tempinput = str_replace("<","&lt",$tempinput); $tempinput = str_replace(">","&gt",$tempinput); return $tempinput; } $tempinput = "%20 /<>///\/\/\/\/\ LOL PANTS javascript SELECT * FROM"; echo SafeGurad($tempinput); php?> [/code] you got to fix your spelling and logic yourself tho.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.