Problem resolved. Turns out that my internal DNS server's configuration and
a misinstalled/configured web-statistics counter were to blame. PHP runs
great and a recent upgrade to mySQL added significant performance gains via
query caching...
"Edward Tilley" <[EMAIL PROTECTED]> wrote in message
Here is my code (which I can't get to work):
/** Note that my code / comments are untested, but should be helpful. */
$mail = "[EMAIL PROTECTED]";
$user = "patrick";
function usermail( $user, $mail ) {
/** We don't need global $user or $mail since these are passed into
The function strpos might be better, preg_match is a bit of overkill
if (strpos($mail,'@') == false)
// error message
else
// okay message
graeme.
Dean Hayes wrote:
Try this i got this working without any problems prints everything out
nice an neetly
global $user;
global $mail;