03 Jan, 2011
Error getting mechanize
Articles related to error getting mechanize
http://digitalpbk.com/perl/wwwmechanize-error-geting-premature-do-not-exit-resume
Make WWW::
Mechanize do not exit on
GET Errors
When using PERL and WWW::
Mechanize, your script can stop if there is some
error in GETing a URL (such as 404 Not Found, 403 Permission Denied). Instead of resuming, the script terminates. If you want the script to continue resuming, you have to pass autocheck => 0 in the
Mechanize class constructor as shown below
my $mech =
WWW::Mechanize->new(autocheck => 0);
This makes sure that the
mechanize library does not check for
errors ...
Published 2 years, 2 months ago
http://digitalpbk.com/perl-sms/perl-script-send-free-sms-any-mobile-number-india-using-way2sms
Perl Script to send Free SMS to any mobile number in INDIA using way2sms
The following script sends SMS to any number in INDIA using the free service provided by Way2Sms.com
Requires WWW::
Mechanize and Compress::Zlib libraries.
Please remember to fill the username and password in the fields that is mentioned in the script.
Updated code on 28th October 2011. If you face
errors use the new script.
#!/usr/bin/perl
use WWW::
Mechanize;
use Compress::Zlib;
my $mech ...
Published 2 years, 5 months ago
http://digitalpbk.blogspot.com/2009/08/flash-flex-swf-bug-permission-denied-to.html
Flash Player BUG: Permission denied to call method Location.toString
Permission denied to call method Location.toStringIf you
get this wierd
error on your
error console, it might be because of opening a flash script within a frame from another domain from your domain. This is a flash bug and apparently there is no work around. So just ignore this
error. I found out this the hardway after searching for a long time, so if anyone stumbles upon this page, just upgrade your flash player.I found ...
Published 2 years, 9 months ago
http://digitalpbk.blogspot.com/2009/05/curl-php-windows-unable-load-libcurlphp.html
cURL PHP
Error on Windows
Fatal
error: Call to undefined function curl_init() in D:/webs/php.php on line 284This problem arises because of not including the lib_curl.dll to PHP. To solve this uncomment the line as shown below;extension=php_bz2.dllextension=php_curl.dll;extension=php_dba.dllNow restart apache server. If you
get an
error "Unable to Load X:/path/php/ext/php_curl.dll", copy SSLEAY32.PHPlibEAY32.dll (OpenSSL) Libraries to the System32 folder.Now restart apache server ...
Published 3 years ago
http://digitalpbk.com/perl/script-fetch-pnr-status-reservation-train-indian-railways
the code below.
Requires: WWW::
Mechanize module and PERL.
Usage: ./pnr.pl <PNR NUMBER>
EDIT: The Railways have changed their interface, so the script also have changed.
New Script
#!/usr/bin/perl
use WWW::
Mechanize;
my $mech =
WWW::Mechanize->new();
$pnr = $ARGV[0];
$mech->get("http://www.indianrail.gov.in/pnr_Enq.html");
$part1 = substr($pnr,0,3);
$part2 = substr($pnr,3);
print " Fetching for PNR $part1-$part2 \n\n";
$mech->submit_form( ...
Published 2 years, 3 months ago
http://digitalpbk.blogspot.com/2008/06/free-dataone-account-usage-checker-perl.html
=>
"cookie.jar",autosave=>1);$mech=WWW::Mechanize->new(cookie_jar=>$cj);print &
quot;GET $url\n"
if($verbose);$mech->get($url);exit unless($mech->success());my $cnt = $mech->response->as_string;$cnt =~ s[action="../(.*?)"][action="$1"]is;$mech->update_html($cnt);$mech->form_number(1);$mech->field("username",$username);$mech->field("password",$password);print "LOGIN\n" if($verbose);$mech->submit();exit unless($mech->success());$cnt = $mech->response->as_string;$|=1;my $uri;my $maxre ...
Published 3 years, 10 months ago
http://digitalpbk.com/firefox/firefox-35-embarassing-error-message
Firefox 3.5 Embarrassing
Error Message
That was an embarrassing
error message :D
Firefox
Funny
Software ...
Published 2 years, 5 months ago
http://digitalpbk.blogspot.com/2009/02/arp-spoofin-ip-masquerade.html
and further packets to that IP is send to the machine with the MAC address. Now the inherent flaw in the protocol is that, there is no
mechanism to verify that the IP address corresponds to the MAC address and a forged ARP reply updates the ARP cache. So if a forged reply comes for an IP address and MAC pair, the ARP table
gets updated. No questions asked. Thus any machine in the network can act as if its another machine and hijack all the information flowing. This is called ARP spoofing or IP ...
Published 3 years, 3 months ago
http://digitalpbk.com/codeigniter/use-get-parameters-facebook-application
CodeIgniter: Use
GET Parameters for OAuth or Facebook
Codeignitor destroys your
GET parameters, because it does not use it, however for applications that use OAuth, Facebook Applications or Facebook authentication using Facebook connect,
GET parameters are required.
In order to retrieve
GET parameters from Code Ignitor, first we have to change the config.php, uri_protocol to PATH_INFO,
this solves 404
Errors with
GET parameters on Codeigniter ...
Published 2 years, 1 month ago
http://digitalpbk.blogspot.com/2008/02/fedora-8-presario-v3000-wifi-install.html
Getting Wifi to Work with Fedora 8 on V3000
So far...Downloaded NDISWrapper.Tried make. Got[root@localhost ndiswrapper-1.52]# makemake -C drivermake[1]: Entering directory `/home/arun/ndiswrapper-1.52/driver'Makefile:24: *** Kernel tree not found - please set KBUILD to configured kernel. Stop.make[1]: Leaving directory `/home/arun/ndiswrapper-1.52/driver'make: *** [all]
Error 2Problem was I dint have the source, downloading source. But what is the kernel number ?uname -rI knew I had ...
Published 4 years, 3 months ago
Related help topics for error getting mechanize
More keywords like error getting mechanize
More pages for error getting mechanize