The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
|
Files not uploading (Solved) - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: Files not uploading (Solved) (/showthread.php?tid=1290) |
Files not uploading (Solved) - alexh - May 10th, 2011 My files were not uploading to the upload directory. Permissions and path were fine. Here's the solution: Add "enctype="multipart/form-data" to the form action tag. PHP Code: <form action="<?php echo $_SERVER["PHP_SELF"]?>" enctype="multipart/form-data" method="POST" onsubmit="return rsv.validate(this, rules)"> |