FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16440&edit=1

ID: 16440
Updated by: borz_off@cs.msu.su
Reported By: info at daten-bahn dot de
Summary: Problem with magic_quotes_runtime
-Status: Open
+Status: Bogus
Type: Bug
Package: HTTP_Request2
Operating System: Windows XP
Package Version: 0.4.0
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

-Status: Open
+Status: Bogus
Cannot reproduce with PHP 5.2.5 under Windows, I have

magic_quotes_runtime = Off

in my php.ini and running

php -r "var_dump(ini_get('magic_quotes_runtime'));"

outputs

string(0) ""

which, of course, evaluates to false. Dunno how you ended up with 'off'
in that variable.


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

[2009-07-14 17:21:05] hasc

Description:
------------
The value of "magic_quotes_runtime" is set to true although the value
of $magicQuotes variable is 'off'.
Request2.php, Line 804:
###
if ($magicQuotes) {
ini_set('magic_quotes_runtime', true);
}
###

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

Search Discussions

  • Info at Jul 28, 2009 at 6:46 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16440&edit=1

    ID: 16440
    Updated by: info@daten-bahn.de
    Reported By: info at daten-bahn dot de
    Summary: Problem with magic_quotes_runtime
    Status: Bogus
    Type: Bug
    Package: HTTP_Request2
    Operating System: Windows XP
    Package Version: 0.4.0
    PHP Version: 5.2.5
    Roadmap Versions:
    New Comment:

    Hi,

    thanks for you response.

    I got the result on a debian distribution and windows, both with php
    5.2.9

    I am using a php framework in the affected applications (symfony 1.2).
    Maybe the default settings are overwritten there.

    For me it is a problem that the magic_quotes_runtime is enabled
    although the value evaluates to 'off'. I am am not sure what the right
    approach is and if this is a special case, but i modified the mentioned
    code.

    Regards,
    hasc


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

    [2009-07-15 22:43:52] avb

    -Status: Open
    +Status: Bogus
    Cannot reproduce with PHP 5.2.5 under Windows, I have

    magic_quotes_runtime = Off

    in my php.ini and running

    php -r "var_dump(ini_get('magic_quotes_runtime'));"

    outputs

    string(0) ""

    which, of course, evaluates to false. Dunno how you ended up with 'off'
    in that variable.

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

    [2009-07-14 17:21:05] hasc

    Description:
    ------------
    The value of "magic_quotes_runtime" is set to true although the value
    of $magicQuotes variable is 'off'.
    Request2.php, Line 804:
    ###
    if ($magicQuotes) {
    ini_set('magic_quotes_runtime', true);
    }
    ###

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 15, '09 at 8:46p
activeJul 28, '09 at 6:46p
posts2
users2
websitepear.php.net

2 users in discussion

Borz_off: 1 post Info: 1 post

People

Translate

site design / logo © 2022 Grokbase