[eluser]Unknown[/eluser]
Hello!
Could anybody give me a solution for my current problem:
I'm working with CI for the first time (I'm not a PHP noob but CI is new to me. A customer wants to have it for a project so I have to work with it ;-)) and it makes me crazy.
Currently I'm builing the login page for the project and CI clears the complete input Arrays (I know it should clear the GET-Array). The POST-Array and $this->input... are empty, too.
Everything seems to work well. I can create controllers and views, fetch and store data from/to the database and so on.
At first the input and post features were working, but after adding the following (really simple) html-basement the issue starts.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Just a test</title>
</head>
<body>
<form action="/new/user/login" method="post">
Login <input type="text" value="Username" class="login" name="user" /> <input type="password" value="Password" class="login" name="pass" /> <input type="submit" name="Button" class="button" />
</form>
</body>
</html>
The form-builder isn't working with this, too.
To avoid this question:
I've added a simple
Code:
<?php var_dump($_POST); ?>
in front of the config-file and the post data is existent at the beginning. After running the first controller every information was cleared by CI :bug:.
Does anybody know a similar problem or can help my out of this situation?
At least there's nothing special to say about the current setup. It's based on a long time running fedora 9 root-webserver with apache 2.2 and the latest CI version.
Regards