CleanUp!!
| From: | Erich Kolb | Date: | Wed, 28 May 2003 19:11:04 +0000 |
| Subject: | CleanUp!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149307@lists.php.net to get a copy of this message | ||
How can I clean this up?
$in_file = http://somedomain.com/somefile.php;
$out_file = ereg_replace("http://", "", $in_file);
$out_file = ereg_replace("/","-", $out_file);
$out_file = "/www/dev/".$out_file;