LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-07-2005, 07:49 AM   #1
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
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
 
Old 12-07-2005, 08:31 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 12-07-2005, 08:38 AM   #3
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Original Poster
Rep: Reputation: 30
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
 
Old 12-07-2005, 08:47 AM   #4
muppski
Member
 
Registered: Feb 2003
Posts: 149

Rep: Reputation: 15
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
 
Old 12-08-2005, 02:45 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 12-08-2005, 06:05 AM   #6
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Original Poster
Rep: Reputation: 30
yep, thats exactly what i need. i have done a bit o' stuff with php. That sounds ideal.

thanks for the tip
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for free upload web-space akudewan General 8 06-09-2005 01:04 AM
Web form to upload to FTP server phatboyz Linux - Networking 2 05-18-2005 10:26 AM
Adding users to Web server KrGAce Linux - Enterprise 4 02-22-2005 02:17 AM
Web upload tool chichibabin Linux - General 7 10-19-2003 09:15 PM
Users cant upload on PFTPD bripage Linux - Networking 9 04-09-2002 04:33 PM


All times are GMT -5. The time now is 11:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration