Welcome Guest, Not a member yet? Register   Sign In
CI clears the complete input?
#1

[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">
&lt;html &gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;

        &lt;title&gt;Just a test&lt;/title&gt;
    &lt;/head&gt;

    &lt;body&gt;
                        &lt;form action="/new/user/login" method="post"&gt;

                            Login &lt;input type="text" value="Username" class="login" name="user" /&gt; &lt;input type="password" value="Password" class="login" name="pass" /&gt; &lt;input type="submit" name="Button" class="button" /&gt;
                        &lt;/form&gt;
    &lt;/body&gt;
&lt;/html&gt;


The form-builder isn't working with this, too.

To avoid this question:
I've added a simple
Code:
&lt;?php var_dump($_POST); ?&gt;
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


Messages In This Thread
CI clears the complete input? - by El Forum - 06-03-2010, 09:58 AM
CI clears the complete input? - by El Forum - 06-03-2010, 11:20 AM
CI clears the complete input? - by El Forum - 06-03-2010, 03:04 PM
CI clears the complete input? - by El Forum - 06-03-2010, 07:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB