in reply to Perl Upload with JQuery

What happened when you tried it? What does your webservers error log say?

my $UPLOAD_FH = $form->upload("uploadfile");

You don't have a field named uploadfile on the form. Perhaps go back to basics and read Ovid's CGI Course.

Replies are listed 'Best First'.
Re^2: Perl Upload with JQuery
by Anonymous Monk on Dec 08, 2010 at 15:22 UTC
    Sorry I do, I just typed it wrong here, but this is what I have:
    my $UPLOAD_FH = $form->upload("file");
    And there is no error anywhere, I cant understand why!

      In future please copy and paste exactly what you have, rather than allow potential typos, otherwise we could be here all day fixing problems you don't actually have in your code.

      "I can not get it to work at all"

      This isn't a reasonable way to explain how you have tried to run this or debug it. See Ovids course I linked to previously regarding debugging your script. It has lots of advice there, saving me for retyping it here. In addition to that consider using something like Friebug do aid debugging web based tools.

      A reply falls below the community's threshold of quality. You may see it by logging in.