Welcome Guest, Not a member yet? Register   Sign In
getimagesize
#1

[eluser]georgerobbo[/eluser]
I am having trouble using the PHP function getimagesize. This is the error I get.

Quote:A PHP Error was encountered
Severity: Warning
Message: getimagesize(http://georgerobbo.dyndns.org/yellowdogy...sirens.jpg) [function.getimagesize]: failed to open stream: No route to host
Filename: views/single.php
Line Number: 7

Code:
<?php $span = base_url() . "public/uploads/" . $a['filename'] . ".jpg"; $span = getimagesize($span); ?>
                <?php echo $span; ?>


Messages In This Thread
getimagesize - by El Forum - 10-19-2009, 05:26 PM
getimagesize - by El Forum - 10-19-2009, 08:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB