php code

timthumb

If you run WordPress, you may find out the hard way what timthumb.php is… This was/is a vulerable zero-day exploitable file that is right now sitting on probably thousands, or even hundreds of thousands of websites… This is going to … Continue reading

Posted in php code | Tagged , | Leave a comment

Show users IP in a graphic – PHP Script

Show IP Display visitor’s IP Address in a graphic with this simple php code. (Please do not link to this image, it is for demonstration only.) create a new page, copy the text below and save it as image.php (or … Continue reading

Posted in php code | Tagged , , | 6 Comments

Terra Firma Theme Fix

Error in your WordPress after upgrade to 2.3 like array_key_exists() Change in the terra firma theme index.php <?php if ( in_category($AsideId) && !is_single() ) : ?> To This: <?php if ( $AsideID != ” && in_category($AsideId) && !is_single() ) : … Continue reading

Posted in php code | Tagged , | Leave a comment

PHP Proper Redirect for Search Engines

How to do a permanent redirect using PHP. Place this code at the top of your PHP page. header(“HTTP/1.1 301 Moved Permanently”); header(“Location: http://www.example.com/otherpage.php”); exit();

Posted in php code | Tagged | Leave a comment

Free PHP Code

Mailing List Software Project Management Software Billing Software Dispatch Software Job Costing Software Expense Report Software Real Estate Website PHP Version Car Dealer Website Free Maintenance Software Free MySQL/PHP Online Content Management System Basic Content Management with PHP/MySQL Recruitment Agency … Continue reading

Posted in php code | Tagged | 28 Comments