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;



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

Reply via email to