[eluser]raimon[/eluser]
well, with a new framework, the problem is the same ...
simply copy this in a view and load it ...
Code:
<?= form_open('user/validatelogin/'); ?>
<p><label for="username">Username:</label><br />
<input type="text" name="username" id="username" /></p>
<p><label for="password">Password:</label><br />
<input type="password" name="password" id="password" /></p>
<p><input type="submit" value="Login" /></p>
<?= form_close(); ?>
and the form action is ...
Code:
<form action="index.php/user/validatelogin" method="post">
so, this works only when the url is:
Code:
http://127.0.0.1/igni/
after the first submit, the url changes into:
Code:
http://127.0.0.1/igni/index.php/user/validatelogin
well, this is beacuse this controller doesn't exist in this new framework, but ...
if the url is:
Code:
http://127.0.0.1/igni/index.php/
the url is ...
Code:
http://127.0.0.1/igni/index.php/index.php/user/validatelogin
:ahhh: :ahhh: :ahhh: :ahhh: :ahhh: :ahhh: :ahhh:
:cheese: :cheese: :cheese: :cheese: :cheese: :cheese: :cheese:
:-)