i have a upload photo function. i used CUploadedFile::getInstance to get the uploaded filename. i have been running it on macOsx and it works fine. now i migrated to CentOs and and the upload stop working.
i did some debug and realise the return value is incorrect. previously, i was able to get the image filename. but now, im getting Object id #68 as the returned value.
im using PHP Version 5.1.6 on a CentOS release 5.3 32bit