getimagesize() won't work on my site (PHP) -
i used getimagesize()
size of .swf
file on xampp localhost server , worked. when apply on site. doesn't output anything.
so made test page see if react same way , did. echo width see if gets result @ all, , on localhost
, gives me output of 800
. when use on site, gives no output @ all...
<?php $url= "http://cache.armorgames.com/files/games/sugar-sugar-3-17769.swf"; $tst = getimagesize($url); echo $tst[0]; ?>
is there reason why wouldn't work? makes no sense me.
i wrote out blank php file , used getimagesize() on url posted , returned expected array of results. how looked @ php error log see if there other underlying errors preventing output? print_r() or var_dump() give anything?
array ( [0] => 800 [1] => 600 [2] => 13 [3] => width="800" height="600" [mime] => application/x-shockwave-flash )
Comments
Post a Comment