I recently upgraded to PHP4.2.2 from an older version of PHP.
Then I realized that if I have an empty value in an upload file field, the value of the variable is no longer "none", it is now "".
Since I have a lot of codes using conditions like:
if ($file_name != "none"){
do something...
}
These codes are not working anymore.
I am just wondering if there is a quick fix for my problem instead of going through all the codes and using $_FILES.....
Appreciate any suggestion.
CarrieS