PHP Code not Displaying on page correctly
Posted: Mon Jul 09, 2007 10:26 am
I am trying to get some php code to work correctly. What i want to do is have my uploaded files display after its uploaded under its proper title, does someone know what i could be doing wrong
Its PHP 5 with MySQL 5 in Windows IIS 6.0
The file is there and uploaded but not displaying correctly maybe i know if i remove the if statements out it i will appear but i don't want to do that.
Its PHP 5 with MySQL 5 in Windows IIS 6.0
Code: Select all
if(array_key_exists('uploadNewLogo', $_POST)) {
if ($ID != "" && $ID != "new") {
move_uploaded_file($_FILES['newLogo']['tmp_name'], $uploadfile2);
createImage($uploadfile2,100,400,'homes/html/images/browse/logos/' . $ID . '.jpg');
createImage($uploadfile2,100,160,'homes/html/images/browse/logos/' . $ID . '-TH.jpg');
unlink($uploadfile2);
}
}