Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

upload file

by bigup401 (Pilgrim)
on Aug 01, 2020 at 08:12 UTC ( [id://11120177]=perlquestion: print w/replies, xml ) Need Help??

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

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

Replies are listed 'Best First'.
Re: upload file
by marto (Cardinal) on Aug 01, 2020 at 08:36 UTC
Re: upload file
by Corion (Patriarch) on Aug 01, 2020 at 08:35 UTC

    Have you made sure that your problem is with Perl?

    Please inspect what your browser sends. If it only sends the filename, the problem is in your HTML and Javascript.

    This site is not for debugging your HTML and Javascript for you, as you should know by now. Please debug your Javascript and HTML, and consider using plain HTML instead for file uploads.

Re: upload file
by Anonymous Monk on Aug 01, 2020 at 08:32 UTC
    Im sorry, what is your problem?
      what is your problem?

      This. Don't waste your time.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: upload file
by perlfan (Vicar) on Aug 11, 2020 at 01:43 UTC
    Get it working with HTML first, you don't need JavaScript. So delete all that JS, then just set the form's action attribute to addFile.pl and add an input field of type="file".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-18 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found