NamePros.Com (http://www.namepros.com/)
-   Programming (http://www.namepros.com/programming/)
-   -   PHP Script for URL Upload (http://www.namepros.com/programming/327979-php-script-for-url-upload.html)

cinu 05-14-2007 11:20 PM

PHP Script for URL Upload
 
Hi,
Can anybody suggest a simple PHP Script. For uploading from a URL instead of user machine. It means that we can put a URL pointing to a file, and the code automatically downloads it and saves it in a specified location.

champ_rock 05-15-2007 12:55 AM

i think u r looking at something like this http://planetozh.com/blog/my-projec...ail-attachment/

just check the option of saving to "server also"

cinu 05-15-2007 01:58 AM

Hi,
I tried this script but this script doesn't seem to work on my server. I don't know
the reasons why has anybody faced this problem before.

champ_rock 05-15-2007 02:00 AM

have u changed the permission of the folder in which the script is to 777?

cinu 05-15-2007 02:38 AM

Yes I have checked with that

champ_rock 05-15-2007 02:59 AM

sometimes ur webhost might have blocked file get functions of php due to which it might not work.

by th way any specific error that u r getting?

which host are u using?

cinu 05-15-2007 03:04 AM

It just gives a blank page. My host is a linux machine

Linux dns.dnsvps.net 2.6.9-023stab040.1-enterprise #1 SMP Tue Jan 16 01:09:22 MSK 2007 i686 i686 i386 GNU/Linux


All times are GMT -7. The time now is 05:12 AM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0