Evaluating form posts
| From: | PHP Mailing list account | Date: | Sun, 12 Sep 2004 00:53:54 +0000 |
| Subject: | Evaluating form posts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196424@lists.php.net to get a copy of this message | ||
Hello everyone,
I had an apache server running with php 5. Now I installed unix on that pc and apache and php 5.
I am using some forms on web pages and get their values by writing
$foo = $_POST["foo"];
Since I 'upgraded' to unix i am getting a double backslash for each backslash entered on
the form
and '\"' for every '"'.
Could someone please tell me what's going on? Did I miss a part of the FAQ?
(The form looks like
<form method="post">
<input type="text" />
<input type="submit" name="action" value="submit" />
</form>
)
Thank you in advance