Hi all,
Running into trouble with a script that I found on Webmonkey.com
http://hotwired.lycos.com/webmonkey/01/27/index3a_page5.html?tw=programming
The page is supposed to send the image name and the size (both height and width) to the photo_display.php page.
Only problem is when i try it I get an error that the variable 'photo' is not defined.
i.e. - Notice: Undefined variable: photo in F:\Nov13\sized\photo_display.php on line 6
The code for this thumbnail page is attached the photo_display.php page is below.
Has anyone run unto this? I can't figure out what's wrong with it.
Thanks
<head>
<title>
<?php echo($photo);?>
</title>
</head>
<?php $photo_size = getimagesize("$photo"); ?>
<body bgcolor="#FFFFFF" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0">
<img src="<?PHP print($photo); ?>"
<?php print($photo_size[3]); ?> name="photo">
</body>
</html>