Link to home
Start Free TrialLog in
Avatar of uriba
uriba

asked on

Upload gif/jpg file in cgi\perl

Hi,
I need a cgi in perl that recive from client (by HTML form) uploaded gif/jpg file and save it on the server.
As a resule,the cgi file will show the client HTML with the gif/jpg picture.
Avatar of julio011597
julio011597

This is worth more than 50 points, since binary data travels encoded, so you have to:

1. read_from_the_form | decode_someway | store_to_file
2. open_file_for_read | send_back_with_appropriate_headers

Bye, julio
Avatar of uriba

ASKER

Actually I know how to receive the input string from the client(hml  form).
I know how to save it, and send it back inside  html form back to the client.
But the problem is to parse the input string that contain the all the information about the file(path, name and the file content).

Thank you for the help,
Uri.
Avatar of uriba

ASKER

Adjusted points to 100
email me at someone@inta.net.au and I will send you some files...
ASKER CERTIFIED SOLUTION
Avatar of Sunil
Sunil

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial