PATH://adammoro.net/blog/label/

Label: Web Development

CI and HTACCESS Woes

In ci/application/config/config.php (Line 44), try setting…

$config[’uri_protocol’] = “REQUEST_URI”;
The thing to be looking at here is the REQUEST_URI part. There are several others to choose from as follows:

AUTO
PATH_INFO
QUERY_STRING
REQUEST_URI
ORIG_PATH_INFO

The following should be placed in the .htaccess file located at the root of the public directory (public_html/.htaccess, htdocs/.htaccess, etc)…

<IfModule mod_rewrite.c>
RewriteEngine On
[…]

No Comments »

G-Translate Coming Soon

When I noticed there aren’t many options for translating the text on your (non-CMS) website in a way that gives you ALL the credit, I decided I’d give it a shot by writing my first real PHP script. Here’s how I did it…
First stop was Google Translate to find out how many different languages I […]

No Comments »

Blog @ AMNET Get Firefox 2