CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
&ltIMG&gt tag activate script?

 



Drew
Deleted

Jun 27, 2000, 5:39 AM

Post #1 of 4 (934 views)
&ltIMG&gt tag activate script? Can't Post

Banner ads seem to use the &ltIMG&gt tag to activate scripts. Something like:

&ltimg src="www.site.com/bannerscript.cgi?variable=value"&gt

I have tried this and cant get it to work. Just how do people get the &ltIMG&gt tag to activate a CGI?

I make a tag like that and have the script that it links to print out the code that would display the image...it wont even activate the script.

Whats up with this? This is frustrating me.


monocle
User

Jun 27, 2000, 6:10 AM

Post #2 of 4 (934 views)
Re: &ltIMG&gt tag activate script? [In reply to] Can't Post

well, must ask the obvious.
Are you useing &ltimg src="www.site.com/bannerscript.cgi?variable=value">
or <img src="www.site.com/bannerscript.cgi?variable=value">?
That can make the world of difference. Otherwise I would suspect that the bannerscript.cgi itself is not working. If this is the case, we'll need to see the script to determine the problem.


------------------
Monocle
Hear great techno music by Monocle at http://www.mp3.com/monocle. CD now on sale!



[This message has been edited by monocle (edited 06-27-2000).]


Drew
Deleted

Jun 27, 2000, 2:13 PM

Post #3 of 4 (934 views)
Re: &ltIMG&gt tag activate script? [In reply to] Can't Post

Huh? Both of those tags you wrote in bold were exactly the same, and also exactly the same as the tag I used in my original post. And it still does not work. All I want is for someone to explain to me HOW the &gtimg&lt tag could possibly initiate a CGI script and how that CGI script could possibly send data BACK to the origin. I have been trying to find this out for days. I am fixing to rip my hair out. HOW HOW HOW.


monocle
User

Jun 27, 2000, 4:30 PM

Post #4 of 4 (934 views)
Re: &ltIMG&gt tag activate script? [In reply to] Can't Post

Sorry for the confusion. I will assume that you are browsing with IE (or a derivative of it) since IE is famous for allowing sloppy HTML to render. No need to disfigure yourself over it.

Using Netscape, I see in your post the ASCII Char Code for <, & l t (sans the spaces) before the IMG> rather than < before the IMG>. I just wanted to make sure that you are not using the the ASCII Char Code in your HTML. Obviously there is a difference.

But again, regardless of your HTML, if you want help with a script...you need to post the script you are having trouble with.

To answer the HOW: When a script is called as the source of the image tag, the script is expected to return the contents of the image, formatted properly.



------------------
Monocle
Hear great techno music by Monocle at http://www.mp3.com/monocle. CD now on sale!


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives