|Problems? Is your data what you think it is?|
Re: Newbie needs helpby bjelli (Pilgrim)
|on Mar 26, 2001 at 22:30 UTC||Need Help??|
If I understood you correctly you want to copy a file from a webclient to the webserver. You can not install scripts on the webclient.
Here's one solution:
1) create a webpage with a form
The form contains a file-upload input tag, like so:
2) Now create a cgi-script
This script handles the uploaded data. with my example form the cgi-script need to be called "myupload.cgi". use the module CGI to get the data:
But don't just copy my code, read the man page of CGI!
-- Brigitte 'I never met a chocolate I didnt like' Jellinek http://www.horus.com/~bjelli/ http://perlwelt.horus.at