weilies has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Is it possible? loading two different script from one <img ... >??

Replies are listed 'Best First'.
Re: Is it possible? loading two different script from one <img ... >??
by jpeg (Chaplain) on Sep 05, 2005 at 09:01 UTC
    I think you're asking if you can modify a script on another host. You would know the answer better than we would.

    If you don't have access to modify pix.pl on the other host, then you have to change your index.html.

    It sounds like you've got some architectural decisions to make. Good luck ;)

    --
    jpg
Re: Is it possible? loading two different script from one <img ... >??
by TedPride (Priest) on Sep 05, 2005 at 09:32 UTC
    The simplest thing to do would be add another 1x1 pixel image somewhere in your page that calls the script at the third domain. Why complicate things? But you could theoretically modify your script at the second domain to request the URL of the script at the third domain through HTTP::Request