Here’s a php code snippet to force the page to https instead of http. You can use a self-signed SSL certificate on your OS X testing server. <?php // force redirect to SSL secure page if($_SERVER['SERVER_PORT'] != '443') { header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit(); } ?>
Continue reading...17. September 2008
We’re not sure why this isn’t on by default. In Photoshop, go to the History palette, select the indicated area, and choose “History Options”. Then in the next screen, check “Allow Non-Linear History”. Deleting a “state” deletes that state and those that came after it. If you choose the Allow Non-Linear History option, deleting a [...]
Continue reading...10. September 2008
We’ve used lots of hosting companies, some good, some bad. We have learned that the real measure of a great hosting company comes down to the following: 1. Reliable Email service: it’s funny that you’d think that bandwidth or space or some web space feature would top our list, but we have learned that even [...]
Continue reading...9. September 2008
It’s sad to think about. You will only know how valuable something is until you lose it. I’m sure many of you have lost a file, or some data, or A LOT of data, like your whole hard drive. So we talk about backing up. But where do we backup? Not on the same drive [...]
Continue reading...9. September 2008
“Unfortunately the Mac OS Leopard PHP build doesn’t bring GD library installed. There are many tutorials around the web telling how to patch the system so you can have it working but all are very complicated and require the installation of Xcode, etc, so you need some gigs of free HD space and a lot [...]
Continue reading...9. September 2008
phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats and is available in 55 languages. Download phpMyAdmin from the site at: http://www.phpmyadmin.net/home_page/index.php [...]
Continue reading...8. September 2008
This is a PHP module for the Apache web server included in Mac OS X. PHP is a server-side, cross-platform, HTML embedded scripting language. 1. Download the PHP package here: http://www2.entropy.ch/download/entropy-php-5.2.4-1-apache2.tar.gz 2. Install it, then test it at http://127.0.0.1/~your_username/test.php Thanks to Marc Liyanage for the PHP package.
Continue reading...
20. September 2008
2 Comments