Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

File upload via AJAX - can't get the params!

by ultranerds (Hermit)
on Jun 30, 2014 at 15:26 UTC ( [id://1091738]=perlquestion: print w/replies, xml ) Need Help??

ultranerds has asked for the wisdom of the Perl Monks concerning the following question:

Hi guys,

I've use this script on several other sites, without issues:

http://blueimp.github.io/jQuery-File-Upload/

Normally, I just use a basic CGI.pm object, and can call the filename etc using:

print "Action is: " . $IN->param('action');


The annoying part, is that I can see the value perfectly in Firebug:

-----------------------------21562738631778 Content-Disposition: form-data; name="action" ajax_image_upload 
-----------------------------21562738631778 Content-Disposition: form-data; name="room" 1 
-----------------------------21562738631778 Content-Disposition: form-data; name="fileupload"; filename="paypal-secure.png" Content-Type: image/png ‰PNG .. rest of image code here :)


However, when I try and print it out - I get nothing!

UPDATE: Not sure what happened - could have been when the host updated libssh2-devel ... as it works now!

TIA

Andy
  • Comment on File upload via AJAX - can't get the params!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found