I am having two php files. Let us assume it as a.php and b.php.
In a.php, the user is allowed to select the file to upload using FILE input box.
In b.php, I am trying to upload the file to my server if my other conditions are satisfied and enters record in the database. This does not have any user interface.
The problem is, even if my conditions are not satisfied, the program acts as if it is uploading the file when it is navigating from a.php to b.php. This action takes long time.
Please help me to solve this problem.
Thanks and Regards
slrao wrote:I guess the problem is due to usage of ENCTYPE="multipart/form-data".
Is there any solution where I can use File Input Box and also get the file uploaded depending on Criteria?.
Users browsing this forum: Google [Bot] and 1 guest