Hello.

I read throughout this thread and it looks like I have encountered
the same problem. Everything looks just fine but somehow the PHP
does not parse the request data sent to the script. I did some research on
that but gave up since I couldn't find how and where those data were
parsed. But I've used the PHP for a few days maybe it's just my
stupidity. Some of you more acquainted with the topic will find some info
I've gathered useful eventually.

I used this form:

<form action="test.php" method="POST">
        Your name: <input type="text" name="username"/><br/>
        Email: <input type="text" name="email"/></br>
        <input type="submit" name="submit" value="Submit me!">
</form>

The test.php script contained this code:

<?php
        error_reporting(E_ALL);
        echo "<pre>\n";
        phpinfo();
        echo "</pre>\n<br/>";
        var_dump($_POST);
?>

Then I saw a pretty large page but at the end there was

        array(0) { }

and _that_ seemed to me pretty strange.

If someone is interested in reading through the whole result it could
be downloaded from

        http://zonk.matfyz.cz/php_post_problem

I tried to change the method to GET but it didn't work either. The result
could be seen at

        http://zonk.matfyz.cz/php_get_problem

Take care.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Arne Rusek                                             <[EMAIL PROTECTED]>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Resistance is futile. Open your source code and prepare for assimilation."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to