CodeIgniter Forums

Full Version: Index.php is showing up in the 'form success' page.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Im very knew to coding and im trying to make some sense of this.
Ive configured the .htaccess to hide the index.php from the url. but when i submit my form at the the url turns in to

any way to fix this?

my .htaccess file is in the public_html folder. my views file structure is




El Forum

What does the form look like?

El Forum

[quote author="n0xie" date="1245360667"]What does the form look like?[/quote]

its pretty much the one from the example exept for a few modifications

<?php echo form_open('/register'); ?>

&lt;input type="text" name="username" value="&lt;?php echo set_value('username'); ?&gt;" size="50" /&gt; &lt;?php echo form_error('username'); ?&gt;

&lt;input type="text" name="password" value="&lt;?php echo set_value('password'); ?&gt;" size="50" /&gt; &lt;?php echo form_error('password'); ?&gt;

<h5>Password Confirm</h5>
&lt;input type="text" name="passconf" value="&lt;?php echo set_value('passconf'); ?&gt;" size="50" /&gt; &lt;?php echo form_error('passconf'); ?&gt;

<h5>Email Address</h5>
&lt;input type="text" name="email" value="&lt;?php echo set_value('email'); ?&gt;" size="50" /&gt; &lt;?php echo form_error('email'); ?&gt;

<div>&lt;input type="submit" value="Submit" /&gt;&lt;/div>


El Forum

Did you remove the index.php from your config file as well?
$config['index_page'] = "";

El Forum

[quote author="n0xie" date="1245360960"]Did you remove the index.php from your config file as well?
$config['index_page'] = "";

yes that was it. thanks you!
and please excuse my noob(ness?).

thanks again.