\\2 = domain
> \\3 = request_uri
>
> Jim Lucas
> - Original Message -
> From: "J. Younker" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 05, 2002 8:22 AM
> Subject: [PHP] Regular Expressions Help
>
> > Hi,
>
= "http://\\2\\3";;
$URL = eregi_replace($pattern, $replace, $URL);
I've stared at this expression for too long and can't figure out what's
wrong.
Thanks,
J. Younker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If it's a php script, you can place it in your cron-daily folder on your server, but
to have it execute as a shell script, you would have to add:
#!/usr/bin/php -q
(or whatever the path to php is on your server) at the very top of your script. The
-q flag supresses the headers.
You would also h
3 matches
Mail list logo