Hi,
I'm beginner in PHP.
I want to copy a file like http://www.site1.com/example.file to my server.
How can I do it?
Is it "file upload method"?
Ali Azarnoosh
http copy
Moderator: General Moderators
if you do this:
you'll have a copy of it (an array), then you can save it.
Code: Select all
<?php
$my_copy = file("http://www.site1.com/example.file");
?>