ID:               14843
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         PHP options/info functions
 Operating System: Linux
 PHP Version:      4.1.0
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2002-08-17 10:18:56] [EMAIL PROTECTED]

I believe this was fixed, can you please test a newer version of PHP
and confirm/deny this?

------------------------------------------------------------------------

[2002-01-04 02:29:14] [EMAIL PROTECTED]

Here is a script that demonstrates the problem. If you uncomment line
4, magic quotes works consistently. If you do not, then some data (or
SOMETHING) will cause it to fail most of the time.

<?
mysql_pconnect("","",""); // Must fill in db options
if (isset($adCode)) {
        // echo get_magic_quotes_gpc();
        $sql="INSERT INTO ad_code set sponsor='{$sponsor}',
adCode='{$adCode}', cat='{$cat}'";
        echo $sql."<br><br>";
        mysql_query($sql);
        echo mysql_error();
}
?>

Try various data with and with single quotes, and many times
magic_quotes_qpc will fail to escape the variables.

I would be happy to provide access to the actual script and server that
caused me to notice this problem. Just email.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=14843&edit=1

Reply via email to