[eluser]DavidHopkins[/eluser]
Thanks for your replies all.
I have managed to get this working without the use of a htaccess file, however as soon as i change
Code:
$config['index_page'] = 'index.php';
to
Code:
$config['index_page'] = '';
in my config/config.php file i start to get errors.
FOr some reason i get errors relating to no such variables cid, email and pass which are the names of my form elements
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined variable: email
Filename: controllers/login.php
Line Number: 28
Thats one error, but i dont get that when i have index.php in my config file. Its really odd and starting to bother me a little bit
Here is my htaccess file
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
Thanks
Dave