John Nichel is quoted as saying on 11/30/2004 2:17 PM: <snip>
$width = imagesx($path)/4; $height = imagesy($path)/4;
$width = imagesx($path)/4; $height = imagesy($path)/4;
When I run it in the browser, I get:
Fatal error: Call to undefined function: imagesx() in c:\fourh\spotlight3.php on line 31
when i run it from the command line I get: C:\fourh>php.exe spotlight3.php Content-type: text/html X-Powered-By: PHP/4.3.9
<br /> <b>Warning</b>: imagesx(): supplied argument is not a valid Image resource in < b>C:\fourh\spotlight3.php</b> on line <b>31</b><br /> <br /> <b>Warning</b>: imagesy(): supplied argument is not a valid Image resource in < b>C:\fourh\spotlight3.php</b> on line <b>32</b><br /> <img src="images/youthtoday2.gif" height="0" width="0">
-- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 robert_sossomon@xxxxxxxx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php