![]() Topic awaiting preservation: Magic Quotes Issue (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Inside THE BOX |
![]() So, I recently discovered that every time I attempt a search containing an apostrophe in my installation of Gallery, the apostrophe gets prefixed with a backslash. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Well I'd just try adding that to the top of the file called search.php |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() actually, I feel you're all confused. code: function _g_SecureArray(&$array,$bIsFirstLevel = true)
|
Paranoid (IV) Mad Scientist From: Inside THE BOX |
![]() Unfortunately, adding ini_set(magic_quotes_gpc, 0); to search.php did squat. In fact, I tried creating a file with ... code: <?php
|
Maniac (V) Inmate From: under the bed |
![]() I beleive the issue lies in here - quote:
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() a) magicq quotes for get,post,cookies (or gpc |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
![]() OK, so I did some searching on stripslashes and I finally came up with a couple of posts from guys who had the same issue of not being able to turn off magic quotes. code: if (get_magic_quotes_gpc()) {
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() quote:
code: $var_value = ${$var_name};
|
Paranoid (IV) Mad Scientist From: Inside THE BOX |
![]() |