From:             ashish1_sharma at rediffmail dot com
Operating system: Windows 2000
PHP version:      4.3.2
PHP Bug Type:     Dynamic loading
Bug description:  Unable to upload image from local system to the server

Description:
------------
Hi Friends,

Please help me out from this problem .. i need ur help ..

I am having a form with 2 fields, Product Name and Product Image and whose
action is redirecting on the same file say (add-product.php).

Now when i click on "submit" button after entering the product name and
attaching the product image it is working without any problem. The data is
going into the database and the image is uploading in the specigfied path.
As this is a direct (one go) insertion without any check point. 

After that i have modified this programme into such that when the user
click on "submit" button after entering the product name and attaching the
product image. First it should check for the duplicate value for product
name and if found then it should prompt the user that he is entering a
duplicate value as the product name is already exsists .. so would he like
to continue ... with [YES] or [NO] submit buttons. If the choice is [YES]
then enter the value into the databse and upload the image and if [NO]
then return  to main screen.

Now the problem which i am facing is that i am able to capture the data of
product name field in a hidden field in confirmation form and able to
insert later into the databse but i am not able to capture the value for
the product name field and hence the image is not uploading as it is also
displying some warnings .. as unable to open the (dir) for reading n all
...


So, i would like to know that should i do to solve this problem .. please
help me to solve this problem ...

Ashish


-- 
Edit bug report at http://bugs.php.net/?id=26578&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26578&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26578&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26578&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26578&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26578&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26578&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26578&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26578&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26578&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26578&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26578&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26578&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26578&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26578&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26578&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26578&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26578&r=float

Reply via email to