[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 05-14-2007, 10:20 PM   #1 (permalink)
New Member
 
Join Date: May 2007
Posts: 4
0.00 NP$ (Donate)

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-14-2007, 11:55 PM   #2 (permalink)
Senior Member
 
champ_rock's Avatar
 
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,768
8,037.05 NP$ (Donate)

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"
__________________
Akshay Jain
......................
champ_rock is offline  
Old 05-15-2007, 12:58 AM   #3 (permalink)
New Member
 
Join Date: May 2007
Posts: 4
0.00 NP$ (Donate)

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, 01:00 AM   #4 (permalink)
Senior Member
 
champ_rock's Avatar
 
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,768
8,037.05 NP$ (Donate)

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?
__________________
Akshay Jain
......................
champ_rock is offline  
Old 05-15-2007, 01:38 AM   #5 (permalink)
New Member
 
Join Date: May 2007
Posts: 4
0.00 NP$ (Donate)

cinu is an unknown quantity at this point


Yes I have checked with that
cinu is offline  
Old 05-15-2007, 01:59 AM   #6 (permalink)
Senior Member
 
champ_rock's Avatar
 
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,768
8,037.05 NP$ (Donate)

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?
__________________
Akshay Jain
......................
champ_rock is offline  
Old 05-15-2007, 02:04 AM   #7 (permalink)
New Member
 
Join Date: May 2007
Posts: 4
0.00 NP$ (Donate)

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 02:08 AM.
cinu is offline  
Closed Thread


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 04:35 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85