note 102433 added to function.copy
| From: | suit at rebell dot at | Date: | Mon, 14 Feb 2011 10:35:55 +0000 |
| Subject: | note 102433 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176975@lists.php.net to get a copy of this message | ||
@ 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.
----
Server IP: 69.147.83.197
Probable Submitter: 81.223.129.178
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- https://master.php.net/note/edit/102433
Del: integrated -- https://master.php.net/note/delete/102433/integrated
Del: useless -- https://master.php.net/note/delete/102433/useless
Del: bad code -- https://master.php.net/note/delete/102433/bad+code
Del: spam -- https://master.php.net/note/delete/102433/spam
Del: non-english -- https://master.php.net/note/delete/102433/non-english
Del: in docs -- https://master.php.net/note/delete/102433/in+docs
Del: other reasons-- https://master.php.net/note/delete/102433
Reject -- https://master.php.net/note/reject/102433
Search -- https://master.php.net/manage/user-notes.php