![]() |
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? |
|
Didn't seem to work. I'm going to test out a few other things, though.
I seem to be now getting more errors, with my checkFile() function, and uploading still isn't working. :( |
PHP Code:
|
| All times are GMT. The time now is 01:38 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0