note 73868 rejected from function.copy by bobby
| From: | bobby@php.net | Date: | Tue, 13 Mar 2007 20:35:00 +0000 |
| Subject: | note 73868 rejected from function.copy by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-124423@lists.php.net to get a copy of this message | ||
Note Submitter: phpzmurf at yahoo dot com
----
hey,
I got a litle problem...
I wanted to add an option, that users can add pictures as url's
but guz of the load speed I want the files to be In the same server as the site.
it's very simple I just used
copy('http://site/source.gif',
"/home/user/files/$id.gif");
but how can i check the type and the size of the file...
guz even file_exists() told me it cannot find the file...