http://digitalpbk.blogspot.com/2006/12/setting-up-apache-php-on-windows.html
configuration (mentioned above) to find out the
error.Stuck ? leave a comment... ...
Published 5 years, 4 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/2007/07/captcha-what.html
. The text is then set as a cookie.Eg:header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1header("Expires: Mon, 25 Nov 1987 12:00:00 GMT"); // Date in the past// Set the content-typeheader("Content-type:
image/png");error_reporting(0);// Create the image$im = imagecreatetruecolor(200, 40);// Create some colors$colors = array(imagecolorallocate($im, 0, 0, 0),imagecolorallocate($im, 128, 0, 0),imagecolorallocate($im, 0, 128, 0),imagecolorallocate($im, 0, 0, 128 ...
Published 4 years, 10 months ago
http://digitalpbk.com/ubuntu/install-wireless-wifi-drivers-linux-karmic-9.1-sony-vaio-cw
Install Wireless Wifi drivers on Sony Vaio CW on Linux Ubuntu
Out of the box Ubuntu 9.10 wireless/wifi did not work on my Sony Vaio CW Series (VPCCW26FG), The following
error message is shown on start up and on dmesg command.
Could not read microcode: -2
The solution was to install backports modules.
Installing Wireless Drivers on Ubuntu
In order to make wireless (WiFi) work on the new Sony Vaio CW series, you have to run the following commands on Ubuntu 9.10 Karmic.
sudo apt-get clean ...
Published 2 years, 1 month ago
http://digitalpbk.blogspot.com/2008/06/perl-download-manager.html
--; $err++; } if($exit) { print "\n$inx is exiting "; $stats[$inx] = 1; return 0; } } if($err == 100) { print "\nToo many
errors in $inx, killing everyone\n"; $exit = 1; } $stats[$inx] = 1; return $err; } my $errls = 0; REDO: my $req = HTTP::Request->new('HEAD',$url); print $req->as_string; my $ua = LWP::UserAgent->new; my $res = $ua->request($req); print $res->as_string; if($res->code != 200) { print "\n\n"; goto ...
Published 3 years, 11 months ago
http://digitalpbk.blogspot.com/2006/11/network-traffic-calculator-using-vc-6.html
Res = WSAIoctl(Sock, SIO_GET_INTERFACE_LIST,0, 0,&buffer;, 1024, &lnBytesReturned;,0, 0); if(lnRes) return WSAGetLast
Error(); for(int i=0u;i76;i++)> { if(i } closesocket(Sock); return 0;}int ConnectSock(char sck[],int port,HWND hwnd){ WORD wVs = MAKEWORD(2,2); WSADATA wsaData; int err=WSAStartup(wVs,&wsaData;); if(err!=0) return INVALID_SOCKET; SOCKADDR_IN sin; sin.sin_family = AF_INET; sin.sin_port = htons(port); if(sin.sin_port == INVALID_SOCKET) return INVALID_SOCKET; unsigned long iret ...
Published 5 years, 5 months ago