PHP Classes

File: ex5.php

Recommend this page to a friend!
  Classes of Marcos Bezerra  >  Web Open Patch  >  ex5.php  >  Download  
File: ex5.php
Role: Example script
Content type: text/plain
Description: Example #5: Anti-Remote Code Injection
Class: Web Open Patch
Filter values to prevent security exploits
Author: By
Last change:
Date: 12 years ago
Size: 260 bytes


Class file image Download


$wop = new WebOpenPatch();

$secoes = array('home', 'noticias', 'fotos', 'blog');

$secaoValida = $wop->wopAntiRemoteCodeInjection($_GET['secao'], $secoes);