i have this simple upload script...
<?
$updir = "/home/sites/bla bla/web/test/files";
@copy($file, "$updir/$file_name") or die("bla bla bla");
?>
how can i replace any possible spaces in the upload file name with an underscore? before it uploads?????
im crap at php!
thx
jim