I would recommend you start here; http://www.php.net/manual/en/ref.image.php
As I understand you are trying to understand the process where an image tag in hmtl causes a browser to request an image be loaded, but because the image statement looks something like the following; <img src="path/to/my/phpscript.php"> It causes the browser to request the server to send the phpscript.php file, and since the server knows that ".php" files are executable, the server then executes your module. If your module begins by outputting the appropriate mime headers that indicate the type of image the script will generate, it then takes the remaining characters sent by the script as the actual image itself. Hope this is what you are looking for. Warren Vail -----Original Message----- From: php [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] image like i call an image if the img tag but instead of loading the image it loads a php script "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Friday 16 July 2004 08:06, php wrote: > > > how do you catch an image request and instead of the image display > > php? > > Please elaborate. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Neil Armstrong tripped. > */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php