Upload from url via php (php script)
Hi,
I have a simple script below which has been working fine to upload files from external server. I find it useful in many times.
create a directory "downloads" , change permission to writable,
create a php file, "ul.php" , paste the code and save.
you are done.
PHP:
<form action="ul.php" method="post">
2
Enter URL: <input type="text" name="url" size="35" /> <input type="submit" value="Submit" name="submit" />
3
</form>
<?
if($_POST["submit"]){
$url = trim($_POST["url"]);
if($url){
$file =…
Upload from url via php (php script)
See original post by zahiid
Leave a Reply
You must be logged in to post a comment.