Forum Moderators: coopster
Im trying to come up with a CGI (Perl or PHP) script to return a URL when called from an <IMG> tag. This is a basic "display image" kind of script used to display counters on webpages...
I understand i should use SSI to call the script : <IMG SRC="<!--#exec cgi='/cgi-bin/script.cgi'-->">.
However, this obviously only works on an actual hosted webpage.
Instead, i need to call the script from a webpage sent by email (a newsletter). Ideally, the script should return a URL to the image, after it read the headers of the HTTP request. I figure that would be a way to collect the user-agent of the email program, to better tailor future newsletters...
Is it actually possible to catch the user-agent that way?
TIA,
-marc
take a look at this active thread, the discussion is on going about what you need to do.
[webmasterworld.com...]