0

The problem does not happen using the home WAMP server. I have tried two remote hosts with the same results. The textareas' hold some code that can be edited and later used on the website.

Eg: Correct data in textarea:

<form action="login.php" method="post">

After first posting to PHP and SQLite database:

<form action=\"login.php\" method=\"post\">

And after two posts:

<form action=\\\"login.php\\\" method=\\\"post\\\">

So when I go to use this changed code, it does not work because of all the .

Note: It is not only " but also any '

I have checked my PHP and SQLite code and can't find any errors, and because it only happens on remote hosts. I tried googling but nothing came up. Might be googling this wrong.

Is there a way to fix this or bypass it?

4

1 回答 1

1

true如果您调用,远程主机可能会返回get_magic_quotes_gpc()。见http://de3.php.net/manual/en/function.get-magic-quotes-gpc.php

于 2013-01-15T21:06:51.947 回答