Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: Uploading a file

by PipTigger (Hermit)
on Jun 08, 2000 at 16:47 UTC ( [id://17067]=note: print w/replies, xml ) Need Help??


in reply to Uploading a file

I just encountered this issue yesterday. The html which contains the form and the upload option must be defined like: <form enctype="multipart/form-data" method="post">You can include an input field within the form that has a type="file" which will allow the file to be uploaded to the CGI script. I struggled with the handling of it but the link above details how I finally werked it out. As chromatic noted, I don't use the object notation. I use :standard which causes my namespace to inherit everything from CGI.pm ... I like it that way but it's probably because I'm a rookie with objects. If you need any further direction, I'll be glad to post more of my code if you'd like. TTFN & Shalom.

-PipTigger

p.s. Byslexia is a Ditch!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://17067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-18 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found