Hi all,
I've been working with a PHP script that gets content but the type of content I need now is just too much for PHP so I'm using Perl. Note: the PHP script does work for a simpler data file, so the server is connected to the Internet and does get the data.
The script works fine, use LWP::Simple; $file = get('myURL'); all work when I use the internal URL but not external.
For example, if I need the file from yahoo/test.html and I enter that in the get(), the $file has nothing in it (Yes I use the ".com", but I don't want the URL filter to work for my example).
However, if I go to that file, view source, and save that as test.html, and run with myDomain/test.html, then it works just fine.
Anyone have any ideas why this is? The file I need isn't under a protected login and it's not a large file (it's an HTML file).
Thanks!