Re: image

From: Date: Fri, 16 Jul 2004 01:12:35 +0000
Subject: Re: image
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190662@lists.php.net to get a copy of this message
thanks "Warren Vail" <Warren.Vail@schwab.com> wrote in message news:72138202E59CD6118E960002A52CD9D211FAAB6C@n1025smx.nt.schwab.com... > 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:phpdbnews@aaron.aichlmayr.net] > Sent: Thursday, July 15, 2004 5:43 PM > To: php-general@lists.php.net > 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" <php-general@gremlins.biz> wrote in message > news:200407160819.57548.php-general@gremlins.biz... > > 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

« previous php.general (#190662) next »