Remote upload tutrial needed
Collapse
X
-
if u are on a free hosting, maybe they don't allow you to upload remote files using copy or file get and put contents, but if they allow u to use curl, u may create a function to get the content of a remote file using curl and then write it in a file using fopen with its appropriate extension..
Leave a comment:
-
Any security checks?
Added after 3 minutes:
Personally I don't support url uploads. I actuallyow very few uploads on my sites.Last edited by frostymarvelous; 08.01.11, 21:32.
Leave a comment:
-
you want to upload a file from remote site to your site, or you want to upload a file from your site to remote site?Originally posted by leonine View Postwen i do search in script forum i didnt get right topic.. can u refer any threads?
if a file from remote site to your site use this:
PHP Code:$file = file_get_contents('http://coding-talk.com/images/icons/icon7.png');
file_put_contents("folder/smiley.png", $file);
Leave a comment:
-
wen i do search in script forum i didnt get right topic.. can u refer any threads?
Leave a comment:
-
why dont you just find the script here and see how it works in that ?
Leave a comment:
-
Remote upload tutrial needed
can any of u wud teach the remote upload tutorial in here??
or any video tutorial for this?
do shareTags: None
Leave a comment: