I want to match the Following URLS to
http://deploy.local/user/12 => fnmatch(PATTERN???, $url); http://deploy.local/user/tree => fnmatch(PATTERN???, $url);
But
fnmatch("user/[0-9]+" , $url);
does not work with these..
Any Suggestions ?
Aucun commentaire:
Enregistrer un commentaire