Hello,
This question has nothing to do with Gossamer-Threads great productions, but I think someone could help me, however.
How can I make a perl script, which would be called from another sites via <img>-tag.
I mean that some people can add to their own sites outside from my page the tag <img src=http://www.mydomain.net/gif.pl>, so that their pages would show an image, which is (for example) randomly choosed by my perl script.
What I need is the line in the gif.pl script.
Should it be
print "http://www.mydomain.net/myimages/1.gif"; ?
That doesn't work, when <img src=http://www.mydomain.net/gif.pl> is in html-page.
So what is the method, then?
Thanks for any help,
Marko
This question has nothing to do with Gossamer-Threads great productions, but I think someone could help me, however.
How can I make a perl script, which would be called from another sites via <img>-tag.
I mean that some people can add to their own sites outside from my page the tag <img src=http://www.mydomain.net/gif.pl>, so that their pages would show an image, which is (for example) randomly choosed by my perl script.
What I need is the line in the gif.pl script.
Should it be
print "http://www.mydomain.net/myimages/1.gif"; ?
That doesn't work, when <img src=http://www.mydomain.net/gif.pl> is in html-page.
So what is the method, then?
Thanks for any help,
Marko