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
Users browsing this forum: No registered users and 2 guests