Last active
October 15, 2019 18:42
-
-
Save muddy-28/c2c3ea058cb457e7ea3fb39796da99b5 to your computer and use it in GitHub Desktop.
Revisions
-
muddy-28 revised this gist
Oct 15, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ <html> <head> <title>How to transfer large files from one server to another in seconds - EagaleSolutions</title> </head> <body> <form method="post"> <input name="url"size="50" placeholder="http://abc.pk/Muqas.zip" /> <input name="submit" type="submit" /> </form> <?php -
muddy-28 revised this gist
Jan 12, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ <html> <head> <title>How to transfer large files from one server to another in seconds - Nazmul Ahsan</title> </head> <body> <form method="post"> -
muddy-28 revised this gist
Jan 12, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ </head> <body> <form method="post"> <input name="url"size="50" placeholder="http://socialchatter.pk/Muqas.zip" /> <input name="submit" type="submit" /> </form> <?php -
muddy-28 created this gist
Jan 12, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ <html> <head> <title>How to transfer large files from one server to another in seconds - Adnan Shafique</title> </head> <body> <form method="post"> <input name="url"size="50" /> <input name="submit" type="submit" /> </form> <?php set_time_limit (24 * 60 * 60); if (!isset($_POST['submit'])) die(); // $destination_folder = 'download/'; $url = $_POST['url']; $newFile = basename($url); $file = fopen ($url, "rb"); if ($file) { $newf = fopen ($newFile, "wb"); if ($newf) while(!feof($file)) { fwrite($newf, fread($file, 1024 * 8 ), 1024 * 8 ); } } if ($file) { fclose($file); } if ($newf) { fclose($newf); } ?> </body> </html>