Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-07-2005, 08:49 AM
|
#1
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
how to allow users to upload to web server ?
Hey there,
i have an apache web server set up, php, mysql, etc...
what i want to add to my web page now is the ability for users who are logged in to be able to upload photos to the web server to go into a database.
i have looked and looked, but cannot seem to find anything about it. What do i need to do ?
Ideally, one would click on a button or whatever on the page and then select a file from their hd to upload.
thanks
|
|
|
12-07-2005, 09:31 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You could install an ftp server program like vsftpd. I use it on my home network to move files from my workstations to my internal webserver.
|
|
|
12-07-2005, 09:38 AM
|
#3
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Original Poster
Rep:
|
what does the end user need to use to upload files, just an ftp client? some o' these guys will be using Windows, and none to savy. This has to be easy for the joes visiting the site . Thanks for the response, reddazz - btw
|
|
|
12-07-2005, 09:47 AM
|
#4
|
Member
Registered: Feb 2003
Posts: 149
Rep:
|
I just wrote myself alittle upload script in php , isent that advanced at all.
But if you dont know php maybe you could get those already made (and free) gallery scripts you can find googling.
Good luck
|
|
|
12-08-2005, 03:45 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by nephish
what does the end user need to use to upload files, just an ftp client? some o' these guys will be using Windows, and none to savy. This has to be easy for the joes visiting the site . Thanks for the response, reddazz - btw
|
I misunderstood your post. The suggestion above seems to be the solution you are after. You need some sort of script and there are a lot of them on the web. You can then use the script to upload the photos to a database using some kind of form on your site.
|
|
|
12-08-2005, 07:05 AM
|
#6
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Original Poster
Rep:
|
yep, thats exactly what i need. i have done a bit o' stuff with php. That sounds ideal.
thanks for the tip
|
|
|
All times are GMT -5. The time now is 03:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|