[NTLUG:Discuss] Uploading to a web site.

ntlug at thorshammer.org ntlug at thorshammer.org
Tue Dec 19 14:35:32 CST 2006


	Doing a google for "uploading file html" gave me:

http://www.cs.tut.fi/~jkorpela/forms/file.html

	That will have the basics. As that page says, uploading the file is simple on the html/client side, it's the server side where things get tricky. Your post makes it sound like you are writing this yourself, so assuming you're using a "CGI friendly language" (perl, PHP, python, etc) it should have methods/libraries/modules to help you.

Robert Thompson


On Tue, Dec 19, 2006 at 12:25:31PM -0600, steve wrote:
> I need to allow users to upload photos to my web site - but I can't 
> figure out how that's done.  Clearly a PHP or CGI program can't reach 
> down into the end user's machine to grab a file - but a Java or 
> JavaScript program running on the client doesn't have the necessary 
> privilages to write stuff onto the server's disk drive.
> 
> I could maybe do it by setting up a Wiki - but I need more control over 
> the process than that.
> 
> How do I make this happen?  The server is (of course) a Linux box but 
> the client's machine could be anything.
> 
> Is there a nice simple example someplace?
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 



More information about the Discuss mailing list