Naomi O’Hare is a Speed Skater on quad skate in the Nampa, Idaho area. Naomi is working on getting to the national competition and getting sponsored as a full-time skater. Naomi needed a website for fund raising information and to show off her sweet skills. Visit Site
Apache: Force HTTPS with .htaccess
When HTTPS is required and you are working with an Apache server that parses .htaccess files, here is a handy snippet of code to put in the .htaccess that will cause the server to force every page in that directory and all subdirectories to use HTTPS by sending them to the HTTPS URI if they
PHP: Function to force HTTPS
Quite often HTTPS is required for security reasons, but the question is how to force HTTPS with PHP? Really it is quite simple. Copy the following function into your functions file and call it on top of every page that requires HTTPS to ensure it is used. function forceHttps() { $pageURL = ‘http’; if (!isset($_SERVER[“HTTPS”])
Typo3: Count the number of Pages, Content, and Words in your install
Ever wonder how many pages, words or tt_content element you have in your Typo3 install? I am working with two large Typo3 sites and I was curious so I wrote a little piece of code. It works really well and is super quick. Here is what the output looks like: Counting Pages SELECT COUNT(uid) AS
New Website Launch: SirGecko
The SirGecko development group has been around for years building web-enabled projects, but up until now they have not had their own website. I was asked to build them a site and problem solved. Click the image below to visit the shiny new site.