HTML server cannot find the specified file -


i'm doing web development work , assignment requires me upload file server. have following code:

<form id = "uploadbanner" method = "post">      <input id = "fileupload" type = "file" /> </form> 

i don't have submit button, since there's 1 @ bottom of page. whenever test out code , input file x, tells me cannot find x. i've tried seeing if obtain path name client see if issue, isn't allowed due security reasons. appreciated; thanks!

this help:

<form action="upload.php" method="post" enctype="multipart/form-data">     select file upload:     <input type="file" name="filetoupload" id="filetoupload">     <input type="submit" value="upload file" name="submit"> </form> 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -