File upload

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: File upload

Post by WiZARD » Tue Nov 26, 2002 2:39 am

slrao wrote:Dear,

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
Rao


Give a code amby i can help you :wink:

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Post by Oleg Butuzov » Wed Nov 27, 2002 8:01 pm

I don not see your code

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Post by WiZARD » Thu Nov 28, 2002 1:45 am

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?.

Thanks

Sorry what i cannot give understand cause want ot sleep so mutch....

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests