12-08-2007, 10:28 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Sep 2007
Location: Arizona
Posts: 114
Thanks: 10
|
Determine if file was uploaded?
I'm creating an order form for PSDtoCode, and I'm trying to determine if the user uploaded a file, so I know whether or not to call my function which uploads the image.
Order.php page:
http://phpfi.com/281991
Order.class.php page:
http://phpfi.com/281992
Line 9 on the order.php page is what is causing troubles for me, because that if statement is returning the wrong value, always the "no image uploaded" option.
What's a better way to determine if a file was uploaded?
|
|
|