Mod_serverstat.php division by zero fix

Attention: open in a new window. PDFPrintE-mail

Written by Andy P. Wednesday, 16 January 2008 04:56

( 3 Votes )
I noticed in AWStats, someone came to our website looking for "mod_serverstat.php division by zero fix". This error was being displayed briefly (and unfortunately at the time particular pages were being first indexed) and was being caused by a Joomla! module that we had installed by the name of Serverstat.

Since someone out there appears to want to know how to fix it and because I've found a work around, I figured I'd share the information. This fix has worked on our site monitoring the Ventrilo server since the beginning.

Read more: Mod_serverstat.php division by zero fix

 

Encoding and Decoding eval gzinflate base64_decode

Attention: open in a new window. PDFPrintE-mail

Written by Andy P. Friday, 28 December 2007 09:29

( 5 Votes )
While editing the source for a webpage that was using some open(ish)-source sode, I began searching for a particular bit of code that I couldn't find.  After scouring the source I discovered the function combo eval(gzinflate(base64_decode('random_gibberish')));

Read more: Encoding and Decoding eval gzinflate base64_decode

 

Google Image Labeler

Attention: open in a new window. PDFPrintE-mail

Written by Andy P. Friday, 28 December 2007 06:40

( 4 Votes )
I don’t know how many people are familiar with Google Image Labeler but it’s a phenomenal way to waste hours of your day and find out how very little you have in common with the rest of the world. BTW, it’s also the definition of “crowdsourcing” which is a buzzword I feel obligated to say because I operate a blog.

Read more: Google Image Labeler

   

How to Download Youtube Videos

Attention: open in a new window. PDFPrintE-mail

Written by Andy P. Friday, 28 December 2007 06:34

( 3 Votes )
In case you’re not familiar with Youtube (even though according to Alexa at the time of this posting, it’s the 4th most popular site on the internet), it’s video sharing site filled with commercial and amatuer video alike.  Let’s say you find a video you like and you would like to download it.  How do you go about this?

Read more: How to Download Youtube Videos

 

How to download php.ini

Attention: open in a new window. PDFPrintE-mail

Written by Andy P. Friday, 28 December 2007 06:10

( 2 Votes )
This may seem pretty noob to some people but I’ll post it anyway since I’ve been asked a few times.

There are a lot of tweaks for PHP that you can perform by placing a local copy of php.ini in the location of your scripts and modifying the necessary values. Modifying this file will let you increase the default upload size (2MB? No way.), script max execution time and, in general, make you look like a magician.

Read more: How to download php.ini

   

Page 2 of 3

SEO by Artio