Properly formatted ereg??

From: Date: Wed, 11 Apr 2001 03:56:33 +0000
Subject: Properly formatted ereg??
Groups: php.general 
Request: Send a blank email to php-general+get-48114@lists.php.net to get a copy of this message
How would I write an ereg to use the value of $PHP_SELF and look for a distinct folder? For instance. say I have: ereg("^/anythinghere/coverage/anthythinghere.html?", $PHP_SELF |||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||| So basically it is looking for the "/coverage/" folder, anything can come before it, and anything after it?? Thanks All!!

« previous php.general (#48114) next »