hOURS wrote:
$w
=
"http://stevemorse.org/jcal/latlon.php?cookie=&hidden=&doextra=&time="
. $propertime .
"&addr2latlon=1&address=823+Alter+St.&city=Philladelphia&state=PA&zip=19147&country=US&latlon2addr=0&latitude=&longitude=";
$x = "http://www.yahoo.com";
$htmlText = get($v);
<snip>
But when I go with $w, the text in the browser window
changes to http://www.hoursystem.net/latlon.php. There's no such
thing - I don't do anything with php. That's like an amalgamation
of what I entered and the argument to my 'get' command.
Predictably, I get an error message saying that url wasn't found on the
server. Can anyone help? Thank you.
stevemorse.org makes use of cookies. Maybe the site also makes use of
certain environment variables. In any case, LWP::Simple is not
sufficient for such a site.
Do you have permission to access the feature from a remote script? Does
Steve Morse have permission to access e.g. maps.google.com from a remote
script?
Google explicitly say at http://www.google.com/accounts/TOS :
"You agree not to access (or attempt to access) any of the Services by
any means other than through the interface that is provided by Google,
unless you have been specifically allowed to do so in a separate
agreement with Google. You specifically agree not to access (or attempt
to access) any of the Services through any automated means (including
use of scripts or web crawlers) and shall ensure that you comply with
the instructions set out in any robots.txt file present on the Services."
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/