note 73868 added to function.copy

From: Date: Tue, 13 Mar 2007 20:33:34 +0000
Subject: note 73868 added to function.copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-124422@lists.php.net to get a copy of this message
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... ---- Server IP: 212.47.220.13 Probable Submitter: 82.131.45.129 ---- Manual Page -- http://www.php.net/manual/en/function.copy.php Edit -- https://master.php.net/note/edit/73868 Del: integrated -- https://master.php.net/note/delete/73868/integrated Del: useless -- https://master.php.net/note/delete/73868/useless Del: bad code -- https://master.php.net/note/delete/73868/bad+code Del: spam -- https://master.php.net/note/delete/73868/spam Del: non-english -- https://master.php.net/note/delete/73868/non-english Del: in docs -- https://master.php.net/note/delete/73868/in+docs Del: other reasons-- https://master.php.net/note/delete/73868 Reject -- https://master.php.net/note/reject/73868 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124422) next »