Merlin wrote:

^\/test\/contact.html$


does not work. I am sorry, I just found that

it has to be:
test/contact.html

and not
dir/test/contact.html

there is no leading slash.

Do you have any other suggestion?

Are you making this too hard?


if($string = 'test/contact.html')
{ echo 'good'; } else { echo 'bad'; }

??

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to