Trying to execute a mysqldump command from the web to backup a MySQL database using the same method I’ve used with Apache\Linux was just not working. I’d see the mysqldump process just hang on the server and give me just empty files. No good. I came up a very simple [...] Read more »
IIS 7.5 and PHP Sessions with Output Cache
If you use php sessions in your scripts, then do not turn on output cache for .php files. I was getting very strange session behavior this way. Once I turned off output caching for php files, all went normal again. So if you are using sessions with .php files, then [...] Read more »
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… Read more »
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 whatever you wish) All you’ll need to display on other [...] Read more »
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() ) : ?> Read more »
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(); Read more »
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 Software Free MySQL/PHP Content Management News System Free PHP Content [...] Read more »