Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Understanding CGI::upload_hook() ;

by cees (Curate)
on Aug 19, 2005 at 19:58 UTC ( [id://485288]=note: print w/replies, xml ) Need Help??


in reply to Understanding CGI::upload_hook() ;

I have a working example of an upload meter script that you can have a look at. It uses some AJAX calls to update the webpage of the progress. You can try it out at the following URL:

http://cees.crtconsulting.ca/perl/examples/uploadmeter/

There is a link to a tarball containing all the code to get it running on that page as well.

It uses the CGI.pm upload hook to manage the upload, so it should give you some good hints on how to get it going in your script.

Replies are listed 'Best First'.
Re^2: Understanding CGI::upload_hook() ;
by rolinger (Initiate) on Aug 19, 2005 at 21:01 UTC
    I downloaded the .tar but there was an error unzipping it with WinZip.

      Odd. There is nothing wrong with the tar file, as I can untar and gunzip it no problem. I have placed a zipped version up there, maybe that will work for you. Or just browse the files online.

      Hope that helps

      Update: Apache was gzipping the output since I had the DEFLATE filter on. Renamed the file to .tar.gz and added 'RemoveOutputFilter DEFLATE' to apache conf. I have updated the links in the parent thread so it should all be working now.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found