Hi
I use:
if (eregi('/directory/', $PHP_SELF)){
echo "hello";
}
Which means if directory is in $PHP_SELF, the print hello
How do I say if directory is NOT in $PHP_SELF then do something?
Is there a PHP equivalent to the Perl 'unless' function?
Thanks
D