Does anyone know how to check the type of image file returned by an external web server? Where the only differences would be the file size. Below is an HTML code example:

a href='http://www.keen.com/calls/PT_interimcall.asp?sid=5350849'><img + border=0 src='http://www.keen.com/calls/callimage.asp?sid=5350849&Im +ageType=1'></a>

The image returned by the img src= would be either 'available', 'busy', 'away' etc. The only difference I can determine is filesize of the image returned by the web server based on the status of the caller.

I'd like to check the availablility of multiple accounts to market the 'available' advisors.

If there is a *different* way to find out the status it would be greatly appreciated to be pointed in that direction as well.

I would greatly appreciate it if someone could point me in the right direction as to how to gather this information from the remote server.

Thank you,
Jason

Janitored by davido: Cleaned up formatting / code tags to match intent of original post.


In reply to How do I check the Status of an image file created from a script on another web server? by Perl Guy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.