javascript - jQuery form plugin and PHP file uploads tutorial questions -
i found nice tutorial jquery php file upload knowledge is`t because dont know put these samples of code... , xml file ?
i have 2 files :
1-named kontakt.php body of simple contact form body
<form action="contact.php" method="post" id="my-form" enctype="multipart/form-data">
2-file named contact.php php scripts.
im trying basic operations files no effect. can u write me directions these parts of code because dont recognize them wery well
thanks
alright, let's this:
- xml stands extensible markup language. markup language, similar html store general data.
- you put 2 files on root (main) directory on webserver.
the code posted top isn't complete contact form html. use whole code tutorial.
<div id="container"> <form action="process.php" method="post" id="my-form" enctype="multipart/form-data"> <p>e-mail<br /> <input type="text" name="email" id="email" /></p> <p>file<br /> <input type="file" name="upload" id="upload" /></p> <p><input type="submit" value="submit" /></p> </form> </div> <div id="output"></div>
- don't name files similarly, or won't know 1 2 weeks now. example, use index.html form page , upload.php processing page.
- otherwise, follow directions of tutorial.
you might want check out tutorial, think bit more clear:
http://www.w3schools.com/php/php_file_upload.asp
Comments
Post a Comment