14 Aug, 2010
Site statistics using codeignitor
Articles related to site statistics using codeignitor
http://digitalpbk.com/php/warning-cannot-modify-header-information-headers-already-sent
Solve "Cannot modify header information - headers already sent by *.php"
Warning: Cannot modify header information - headers already sent by somefile.php (output started at somefile.php:###) in somefile.php on line ###
This Warning is shown by PHP when you
use the header function to output headers or
use the setcookie function to set cookies after any echo or content which is not inside PHP tag.
Hello World !!!
Both should throw this warning.
You can disable ...
Published 1 year, 10 months ago
http://digitalpbk.com/android/tips-to-save-android-battery-life
operating devices that are turned on affects your battery life. This includes
WiFi
BlueTooth
GPS (Global Position System)
NFC (Near Field Communications)
3G/Data connection
2G voice communication.
So the more devices that are turned on the more battery is consumed. Typically you would not need to
use BlueTooth and GPS so you can turn it off when not
used. Typically the wireless settings are under Settings > Wireless and Networks, as shown below:
Similarly with GPS which is under Settings ...
Published 2 months, 1 week ago
http://digitalpbk.com/laptop-tv/how-to-connect-laptop-tv
methods of connecting the laptop with TV. Laptops and TV's that are equipped with an S-Video Port can be connected
using an S-Video cable as shown in the image below:
S-Video cables would be available cheap, just make sure you get the 4 pin or 7 pin cable to connect to the laptop , based on your laptop S-Video port.
You will have to connect the audio output to audio input of the TV
using a standard 3.5mm audio cable which is plugged into the headphone jack of the laptop and into the audio ...
Published 4 months, 1 week ago
http://digitalpbk.com/jquery/drag-drop-make-dynamic-draggable-and-droppable-containers
JQuery make dynamic draggable and droppable containers
The jquery UI javascript has the Draggable and Droppable Interactions inorder to implement a drag drop UI. By default draggable and droppable containers are marked draggable and droppable by jQuery when the page loades, As shown in the code snippet below for the jQuery Drag code and jQuery Drop Code,
jQuery Drop Code
using jQuery droppable
$(".dropTarget").droppable({
drop: function(event, ui) {
// Drop Logic ...
Published 1 year, 11 months ago
http://digitalpbk.com/hardware/canon-sx120-chdk-camera-canon-hack-development-kit
Digital Camera. Features and interfaces with Digic 4 Processor which are not enabled by default in the firmware is enabled by
using CHDK. Compared to other camera like Sony DSC H20, H50 or Nikon L Series, the one thing makes Canon cameras interesting is CHDK which has scripting support in it. For people who are interested in development, firmware and scripting, this is an exciting feature.
CHDK allows you to have much more features in your camera than the normal ones, For Eg, CHDK can be
used ...
Published 1 year, 11 months ago
http://digitalpbk.com/howto/enable-two-finger-flick-forward-and-back-gestures-windows-7-mac
Enable two finger flick Forward and Back in Synaptics
Two finger flick is a gesture that is
used to move forward and backword in applications such as photo viewer software or a browser. This is a feature similar to the one available in Mac which is two touch scrolling. This post describers how to enable two finger flick on Windows just like in Macintosh.
Two-Finger Flick
The Two-Finger-Flick gesture enhances navigation for a variety of applications. You can
use the Two-Finger-Flick gesture ...
Published 1 year, 10 months ago
http://digitalpbk.com/perl/perl-script-check-google-pagerank
Perl Script to check Google pagerank
In order to find out a Google Pagerank of a webpage, we can
use the WWW::Google::PageRank module in Perl.
Click WWW::Google::PageRank to download the Google Pagerank module. Here is a simple script that takes the Website URL as a command line argument and prints the Google PageRank.
OR
Alternatively you can install the module
using cpan
cpan -i WWW::Google::PageRank
#!/usr/bin/perl
$webpage = $ARGV[0];
use WWW::Google::PageRank;
my $pagerank ...
Published 1 year, 9 months ago
http://digitalpbk.com/windows/linux-style-command-line-quick-edit-right-click-paste
, we can select
using the mouse and right click
using paste. Cygwin on windows gives most of the utilities on Linux, but the command line interface is still that of the Windows.
So in order to bring Linux like command line on Windows, you just have to enable an option, which most of us rarely know.
Right Click on the command line title and click properties
Now tick the checkbox as highlighted in the image given below :
Press OK and select save the properties for all windows.
Or
select ...
Published 1 year, 11 months ago
http://digitalpbk.blogspot.com/2006/12/base-64-encoding.html
Base 64 Encoding
IntroductionBase 64 encoding is a method
used in email systems. The email systems that where developed back in the time of Arpanet, where designed to support only Letters (A-Z,a-z) , Numbers (0-9) and some limited puncutation marks. So inorder to transfer files which can contain more than characters and digits (for eg,a picture.jpg file), Base 64 Encoding is
used. The EncodingBase 64 encoding, as the name suggests, has 64 different characters to represent all the 255 characters ...
Published 5 years ago
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
Related help topics for site statistics using codeignitor
More keywords like site statistics using codeignitor
More pages for site statistics using codeignitor