Web Designer Space

Design ideas and Freebies

PHP upload script

Here is a small script that will upload a file from any location on the web to your cpanel hosting account or server directly.

How to upload files from third part location or your previous web hosting to your hosting account :

1.Go to file manager in cPANEL.

2.Create new file > call it upload7.php (or any other name).

3.Edit the file and paste the following code in it :

<?php exec(‘wget http://oldserver.com/file-I-want-to-transfer-from-my-slow-old-webhosting.zip’); ?>

4.Execute upload7.php

Example: http://newserver.com/upload7.php

Within seconds you will have the file in your hosting account without the need to download it to your PC and then to upload it to FTP/cPANEL 



Posted under: Freebies, Uncategorized