The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 871 errorHandler->error



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Files not uploading (Solved)
#1
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)"
Reply


Messages In This Thread
Files not uploading (Solved) - by alexh - May 10th, 2011, 3:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)