code is workin fine on my apache server but when i upload it to the remote webhosting server it is not working !
$imtype=$_FILES['imgfile']['type'];
$imsize=$_FILES['imgfile']['size'];
$imname=$_FILES['imgfile']['name'];
$imtemp=$_FILES['imgfile']['tmp_name'];
$immaxsize="90000";
$immaxwidth="340";
$immaxheight="75";
print $_FILES['imgfile'];
print $imname."<br>";
print $imtemp."<br>";
print $imgfile;
last line of this code is printing C:\WINNT\phpFF.tmp on my local server but its empty on remote server.
the remote server info is here: http://nightlifeagency.com/demo/info.php
any solution to this problem ?? 🙁
due to this problem
$imgsize = GetImageSize($imgfile);
is throwing an error !