NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page PHP Script for URL Upload

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-14-2007, 11:20 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: May 2007
Posts: 4
cinu is an unknown quantity at this point
 



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.
cinu is offline  
Old 05-15-2007, 12:55 AM   #2 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



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

just check the option of saving to "server also"
champ_rock is offline  
Old 05-15-2007, 01:58 AM THREAD STARTER               #3 (permalink)
New Member
Join Date: May 2007
Posts: 4
cinu is an unknown quantity at this point
 



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.
cinu is offline  
Old 05-15-2007, 02:00 AM   #4 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



have u changed the permission of the folder in which the script is to 777?
champ_rock is offline  
Old 05-15-2007, 02:38 AM THREAD STARTER               #5 (permalink)
New Member
Join Date: May 2007
Posts: 4
cinu is an unknown quantity at this point
 



Yes I have checked with that
cinu is offline  
Old 05-15-2007, 02:59 AM   #6 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



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?
champ_rock is offline  
Old 05-15-2007, 03:04 AM THREAD STARTER               #7 (permalink)
New Member
Join Date: May 2007
Posts: 4
cinu is an unknown quantity at this point
 



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
Last edited by cinu; 05-15-2007 at 03:08 AM.
cinu is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:01 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger