View Single Post
Old 12-08-2007, 10:28 PM   #1 (permalink)
Andrew
The Acquainted
 
Join Date: Sep 2007
Location: Arizona
Posts: 114
Thanks: 10
Andrew is on a distinguished road
Default 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?
Send a message via AIM to Andrew Send a message via MSN to Andrew
Andrew is offline  
Reply With Quote