note 102433 deleted from function.copy by danbrown

[email protected] Mon, 14 Feb 2011 05:31:52 -0800
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: suit at rebell dot at 

----

@ tomas at slax dot org

it does not handle the file names incorrect.

if you copy a file from a remote location by giving an url you need to specify the URL according to its context

not only spaces need to be replaced with %20 - other characters need to replaced too - use urlencode() for this purpose and everything is fine.