File upload

General discussions related to php

Moderators: egami, macek, gesf

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

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:
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

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

Wed Nov 27, 2002 8:01 pm

I don not see your code

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

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....
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest