agent00013 has asked for the wisdom of the Perl Monks concerning the following question:
Given these fourlinks, how can I make my script recognize that one is an , one is HTML, one is a script, and one is a directory?$link = "http://www.something.com/picture.gif"; $link2 = "http://www.something.com/index.html"; $link3 = "http://www.something.com/something/script"; $link4 = "http://www.something.com/directory";
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I determine file type based on web page response?
by chromatic (Archbishop) on Jun 22, 2001 at 22:56 UTC |