Dear my friends... I can retrieve a content of simple url such as: "http://www.for-success.info" with LWP::Simple.
But if I retrieve a little bit more complicated url such as "http://www.google.com/search?q=silicon+valley&start=20" causes error. I need to retrieve this url: http://www.google.com/search?q=silicon+valley&start=20. I use "silicon valley" as the keyword. I can visit the url (http://www.google.com/search?q=silicon+valley&start=20) with my firefox properly but I can't do that with LWP::Simple. Please tell me what should I do.... ps: here's my code: use LWP::Simple; . . . sub bukaurl{ $_=&benahurl($locurl); print "url senya: $_<br>"; $konten=get($_); if (!$konten){ print "Mmm... it\'s weird, I didn\'t get any result. It could be because the connection to the host is broken.<br>"; } return $konten; } -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/