03 Jan, 2011

Wordpress cannot modify header

Articles related to wordpress cannot modify header

PHP file_get_contents giving garbled output

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 1 year, 11 months ago

e-Mail structure and Mail Dir File format

http://digitalpbk.blogspot.com/2007/07/e-mail-structure-mail-dir-file-format.html ).The emails are stored as plain text in these files with the full headers and content. The e-Mail StructureEmails stored in the file with full headers and content.The Email structure can be divided intothe head and body.The head contains all the email related information Return-path: Envelope-to: Delivery-date: Received: Message-ID: Date: From:To: Subject:In-Reply-To:MIME-Version: 1.0Content-Type: multipart/alternative; boundary="----=_Part_21969_10709103.1184337589825"References: The body ...
Published 4 years, 7 months ago

Installing GCC for Linux (Fedora Core 6)

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

Perl - cPanel V3 and the @INC

http://digitalpbk.blogspot.com/2007/09/cpanel-v3-perl-include-inc.html Perl - cPanel V3 and the @INC Modifying @INC in a SCRIPTuse Module;is executed during compile time so if you modify the @INC array at run time it will not be reflected back in the compile time. So if you have to include any more include locations in the @INC inside a script, give it inside the BEGIN { }block.BEGIN{ push @INC,"location";}The BEGIN blocks are executed during compile time. So @INC is updated at compile time and the use module are correctly searched for in the updated ...
Published 4 years, 5 months ago

How to make Windows Media Player Skins

http://digitalpbk.blogspot.com/2006/12/how-to-make-windows-media-player-skins.html rectangle. The Picture here shows the skin on Windows Media Player 11.Next we can start making the actual theme. Modify the view node to accomodate the following :Show/Hide Codeleft="0" top="0" width="600" height="267"resizable="false"minWidth="600" minHeight="267"titlebar="false"title="Digitalpbk"scriptFile="digitalpbk.js"onload="init()"backgroundColor="none">Make a new js file ...
Published 5 years, 2 months ago

Remove old kernels in Ubuntu

http://digitalpbk.blogspot.com/2008/11/ubuntu-remove-old-kernel-grub-list-long.html ... DoneBuilding dependency tree Reading state information... DoneNote, selecting linux-headers-2.6.27-9-generic for regex '2.6.27-9-*'Note, selecting linux-image-2.6.27-9-generic for regex '2.6.27-9-*'Note, selecting linux-image-2.6.27-9-server for regex '2.6.27-9-*'Note, selecting linux-headers-2.6.27-9 for regex '2.6.27-9-*'Note, selecting linux-headers-lbm-2.6.27-9-generic for regex '2.6.27-9-*'Note, selecting linux-headers-2.6.27-9-server for regex ...
Published 3 years, 3 months ago

Perl Script to send Free SMS to any mobile number in INDIA using way2sms

http://digitalpbk.com/perl-sms/perl-script-send-free-sms-any-mobile-number-india-using-way2sms ($deb); if($mech->response->header("Content-Encoding") eq "gzip") { $dest = Compress::Zlib::memGunzip($dest); $mech->update_html($dest); } $dest =~ s/update_html($dest); $mech->form_with_fields(("username","password")); $mech->field("username",$username); $mech->field("password",$keyword); print "Loggin...\n" if($deb); $mech->submit_form(); $dest= $mech->response->content; if($mech->response->header("Content-Encoding") eq "gzip") ...
Published 2 years, 2 months ago

Bypass Screen lock on Xorg-1.11 Debian

http://digitalpbk.com/debian/xorg-1.11-screen-lock-bypass Bypass Screen lock on Xorg-1.11 Debian This is a scary bug in Xorg-1.11 in which by pressing a certain key combination the screen locking process is killed. I.e, you can by pass the password authentication used in lock screens. This bug is found in version 1.11 of X-org. The entire process is killed and you cannot lock the screen again with the Ctrl + Alt + L combination. What is the combination? Press Ctrl + Alt + * (Multiplication key) This version is used in Debian and could be reproduced ...
Published 2 weeks, 5 days ago

How to Integrate another Website to Google Analytics Tracking and Adsense

http://digitalpbk.com/adsense-analytics/how-integrate-google-analytics-tracking-and-adsense How to Integrate another Website to 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 ...
Published 2 years, 2 months ago

Windows Drivers for Compaq Presario V3000

http://digitalpbk.blogspot.com/2007/03/windows-drivers-for-compaq-presario.html HDAUDIO Soft Data Fax Modem with SmartCP Driver » Broadcom Wireless LAN Driver » HP Wireless Assistant» Ricoh 5-in-1 Card Reader Host Controller and Driver» AMD Processor Update for Microsoft Windows XPHere is my device driver list screenshot after full installation : Fedora Core 6In FC6, changing the default driver from vesa to nv (nvidia) driver can cause the mouse pointer to disappear. Mouse pointer may be hidden or cannot be seen. So add the following lines to /etc/X11/xorg ...
Published 4 years, 10 months ago

Related help topics for wordpress cannot modify header More keywords like wordpress cannot modify header
More pages for wordpress cannot modify header


Email Newsletter
Email:
Popular Posts
Recent Posts
Tags
Random photo
Beach is this way Beach is this way in Havelock Island Andaman
On Facebook
Recent Comments


digitalpbk