January 20, 2010

How to delay a header redirect with PHP

Category: Uncategorized, khadlock at 12:27 pm

Sometimes you need to show some page content before redirecting a page, like a successful login message, etc. Here's an easy way to delay a header redirect with PHP without using a Meta tag to refresh the page.

header("Refresh: 1; URL=http://www.studiosedition.com");
Bookmark and Share

 

January 6, 2010

403 forbidden with WordPress

Category: WordPress, khadlock at 1:56 pm

After hours of debugging a 403 forbidden error with a WordPress blog we finally found the issue. Some servers require the following line of code before the default mod_rewrite code provided by WordPress:

Options +FollowSymLinks

So your updated mod_rewrite will look similar to this:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
Bookmark and Share

 

Change directory index using .htaccess

Category: Uncategorized, Tags: , khadlock at 1:50 pm

Here's a quick way to change your directory index using htaccess:

DirectoryIndex index.html index.php
Bookmark and Share

 

December 28, 2009

NuSOAP – WSDL caching

Category: PHP, Tags: , , khadlock at 2:32 pm

Here's a great way to speed up your NuSOAP connections with WSDL caching: http://www.norio.be/blog/2008/09/wsdl-caching-nusoap

Bookmark and Share

 

Avery Templates for Adobe Illustrator

Category: Graphic Design, Tags: , , , khadlock at 9:16 am

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1496518#

Bookmark and Share

 

« Newer PostsOlder Posts »