LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to allow users to upload to web server ? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-allow-users-to-upload-to-web-server-390133/)

nephish 12-07-2005 07:49 AM

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

reddazz 12-07-2005 08:31 AM

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.

nephish 12-07-2005 08:38 AM

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

muppski 12-07-2005 08:47 AM

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

reddazz 12-08-2005 02:45 AM

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.

nephish 12-08-2005 06:05 AM

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 11:13 AM.