samedi 9 mai 2015

RegEx for preg_match

RegEx for http://example.com/N/ where N is a number (0-9+)

The case is as follows:

if ( !isset($_SERVER['HTTP_REFERER']) || $_SERVER['HTTP_REFERER'] != 'http://example.com/N/' )

Aucun commentaire:

Enregistrer un commentaire