Welcome Guest, Not a member yet? Register   Sign In
Another View Hurdle
#2

[eluser]philpalmieri[/eluser]
Hey escape,

Maybe im just over simplifying your problem, but first: the 127.0.0.1 is coming in because you havnt set $config['base_url'] in your config.

Next up, is instead of posting to a relative action:
Code:
<form method="post" action="mycontroller/a_function">

have them use absolute path..(notice the pre-pended '/')
Code:
<form method="post" action="/mycontroller/a_function">

Also, you can do some simpe .htaccess stuff to get rid of the index.php too.

if you dont want to mess with .htaccess
Code:
<form method="post" action="/index.php/mycontroller/a_function">

Phil


Messages In This Thread
Another View Hurdle - by El Forum - 11-07-2008, 07:52 AM
Another View Hurdle - by El Forum - 11-07-2008, 08:52 AM
Another View Hurdle - by El Forum - 11-07-2008, 09:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB