14 Aug, 2010
404 errors with get parameters on codeigniter
Articles related to 404 errors with get parameters on codeigniter
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
http://digitalpbk.com/interview-questions/find-number-zeros-factorial-number-n-factorial
Find the number of zero's in 'Factorial of a number' N factorial
None
For n as the number,
round(n/5) + round(n/25) + round(n/125)+.......+round(n/5^n) etc till the reminder is 0.
Explain how?
A zero is formed when a 5 and 2
get multiplied, therefore finding the number of 5's would be enough to find the number of 10's since 5's would be less in number than 2.
Lets take an example
30! = 1 x 2 .. x 5 x... x 10 .. x 15 ..x. 25 ... 30
It has 7 fives. Number of 5's ...
Published 1 year, 6 months ago
http://digitalpbk.blogspot.com/2006/11/how-to-make-more-fans-on-orkut.html
How to make more fans on orkut?
Lets start by looking how you
get a fan normally. You
get a fan when one of your friends click the star near your name on the friends page. Next let us see the inner workings of the "Fanning Process".The "Star" that clicks has the following code . 0, 1, 0);"> alt="fan" title="fan" border="0" ...
Published 5 years, 2 months ago
http://digitalpbk.blogspot.com/2009/11/happy-birthday-digitalpbkblogspotcom.html
Happy Birthday digitalpbk.blogspot.com
Well I totally forgot that my blog is completed 3 years as of November 18. And you can see the numbers right :) I have started a new blog with more features so that people would
get more information out of it and structured neatly.So @ 3 years of my Tech blogging on blogspot, i'm moving onto my domain. digitalpbk.comThis blog would still be here. So See Ya...digitalpbk:) ...
Published 2 years, 2 months ago
http://digitalpbk.com/perl/perl-script-check-google-pagerank
= WWW::Google::PageRank->new;
print
scalar($pagerank->get($webpage)), "\n";
Usage of Perl Script to check PageRank
./pagerank.pl http://digitalpbk.com
Getting Google Pagerank of Pages in Bulk
The following PERL script can be used to
get pageranks of pages in bulk. Just pass the filename which has URLs in each line and it would output the pageranks of those pages as a CSV.
#!/usr/bin/perl
$file = $ARGV[0];
use WWW::Google::PageRank;
my $pagerank = WWW::Google::PageRank->new;
sub trim($)
{
my ...
Published 1 year, 9 months ago
http://digitalpbk.blogspot.com/2007/07/captcha-what.html
. The text is then set as a cookie.Eg:header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1header("Expires: Mon, 25 Nov 1987 12:00:00 GMT"); // Date in the past// Set the content-typeheader("Content-type:
image/png");error_reporting(0);// Create the image$im = imagecreatetruecolor(200, 40);// Create some colors$colors = array(imagecolorallocate($im, 0, 0, 0),imagecolorallocate($im, 128, 0, 0),imagecolorallocate($im, 0, 128, 0),imagecolorallocate($im, 0, 0, 128 ...
Published 4 years, 6 months ago
http://digitalpbk.blogspot.com/2008/08/nvidia-core-temperature-compaq.html
nVidia Core Temperature too high on my Compaq Presario Lappy
LAPtops as the name stands, conventionally meant to be on the LAP. But in my case not only can it be kept on a lap, it fries everything underneath !Check out the screenshot!nVidia GPU Core Temperature ScreenshotThis is kinda normal, it
gets to 110+ when connected to TV or playing a game!.The nVidia GeForce card is suspected to do the overheating.I am using a Compaq Presario V3000 Notebook.Does any one having a similar series face ...
Published 3 years, 6 months ago
http://digitalpbk.blogspot.com/2008/04/official-gmail-blog-9-reasons-to.html
Official Gmail Blog: 9 reasons to archive
Guess GMail wants all its users to archive their mail often.We hear reports that many users don't archive their email. If you don't regularly click on the "archive" button or never even thought about it, here are some reasons you might want to
get in the habit. Archiving just means moving mail out of your inbox and storing it for safekeeping. Your messages will be waiting for you when you click All Mail or search for them.9. Phone ...
Published 3 years, 9 months ago
http://digitalpbk.blogspot.com/2007/04/xss-on-justdialcom.html
XSS on JustDial.com
JustDial.comSaw the ad a few days back on the TV, so thought could play with it. As expected, they haven't thought/bothered about Cross Site Scripting !Just search for our usual keyword : alert("XSS"); and you can
get alerts.The reason for most XSS holes is due to the use of Microsoft's Active Server Pages (ASP). ASP does not have much default functions or modules to combat XSS. Whereas PHP has a number of functions to do the same.Happy Hacking ... ...
Published 4 years, 10 months ago
http://digitalpbk.com/2009/10/other-welcome-digitalpbkcom
Welcome to digitalpbk.com
Well just to have something to
get started. :)
This is my experiment with drupal. I got somehow drupal to run, figured out and tinkered it as far as I know. I am a drupal 5 developer, has written a few modules in it, for the company SmartCrowds for which I work for. Drupal 6 is a little bit different. So if you find it a little plain and have ideas to improve, help me out.
Just Ignore the above, its pretty old and historically true, But now it runs on Django ...
Published 2 years, 3 months ago
Related help topics for 404 errors with get parameters on codeigniter
More keywords like 404 errors with get parameters on codeigniter
More pages for 404 errors with get parameters on codeigniter