http://digitalpbk.com/php/file_get_contents-garbled-gzip-encoding-website-scraping
.
// Allow it for now... Do nothing...
}
// Verifiy decompressed size and CRC32:
// NOTE: This may fail with large data sizes depending on how
// PHP's integer limitations affect strlen() since $isize
// may be negative for large sizes.
if ($isize != strlen($data) || crc32($data) != $datacrc) {
// Bad format! Length or CRC doesn't match!
return false;
}
return $data;
}
}
Happy Scraping :)
PHP
Web ...
Published 1 year, 11 months ago
http://digitalpbk.com/google-app-engine/how-to-download-app-engine-code
How to Download Google App Engine Code
Download App Engine Source code with the Google App Engine SDK
Google App Engine is a
web hosting platform from Google which is designed to scale. Unlike the conventional server code deployment with load balancers, Google App Engine service scales automatically with load balancing without you needing to set up the load balancer / cloned application servers. The downside is that Google App Engine can only support applications written in Python version 2 ...
Published 3 months, 2 weeks ago
http://digitalpbk.com/windows-gadgets/how-make-windows-gadget-windows-7
basic HTML and
Javascript. Gadgets uses Jscript which is a minor variant and is more or less similar to
Javascript.
Before jumping to How to make the windows gadget, lets see where the default Gadgets used by windows are present. We can always use those inbuilt gadgets as reference to make our windows gadget.
Finding the default gadgets on Windows 7
The default gadgets on Windows 7 are located in the drive (typically C:) you installed Windows, Under "Program Files ...
Published 1 year, 3 months ago
http://digitalpbk.com/php/warning-cannot-modify-header-information-headers-already-sent
as
; a value for this directive (e.g., output_buffering=4096).
output_buffering = On
Video to fix your warning cannot modify header information
VID-33025531
Hope this solves all your annoying
Warning Cannot Modify Header Information :)
PHP
Web ...
Published 1 year, 10 months ago
http://digitalpbk.blogspot.com/2006/11/about-hosts-file.html
serving site is given inhttp://www.mvps.org/winhelp2002/hosts.txtIt is not recommended to copy the entire list to your local HOSTS file as it slows down the system. So choose ones that you think needs to be blocked. What is this pop up about?When you are saving the HOSTS file, a pop up may appear that asks you to confirm the changes to the HOSTS file. This pop up may or may not appear based on the OS, and other Anti-
Virus Softwares you are running.What else can I do with "HOSTS" file? You ...
Published 5 years, 2 months ago
http://digitalpbk.blogspot.com/2007/04/http-11-response-status-codes.html
HTTP 1.1 Response Status Codes
IntroFor each request a client sends to the server, the
web server returns a 3 digit HTTP status code indicating the server's response. Eg:HTTP/1.1 404 Not FoundHere is the list of codes that the server sends and a brief description of the code.The status response codes are grouped as : 100 - 199 : Informational Status CodesProvides information to the Client that the server is starting to fulfill the request.100 Continue : Server says "Ready to receive ...
Published 4 years, 10 months ago
http://digitalpbk.blogspot.com/2007/01/extracting-embedded-album-art-in-mp3.html
Extracting embedded Album art in mp3
AboutThis command line tool extracts embedded album art pictures from mp3's. It extracts only album art that is within the mp3 file. External album arts need not be extracted as they are plain files and can be seen in respective folders, by unchecking the "Hide protected operating system files" in view Tab in Folder Options in Windows XP.(Tools > Folder Options > View Tab)DownloadDownload as zip (38.3 KB)(I Assert that it is not a
virus ...
Published 5 years, 1 month ago