You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uncaught Error: Call to undefined function get_magic_quotes_gpc() #32
When accessing index.php on my PHP web server, I get this error in the console of the server:
[Mon Apr 3 17:59:25 2023] 172.31.196.1:41718 [200]: GET /Nanite-Proxy/index.php - Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/runner/JCStudios/Nanite-Proxy/index.php:93
Stack trace:
#0 {main}
thrown in /home/runner/JCStudios/Nanite-Proxy/index.php on line 93
My details:
Server OS = Ubuntu 20.04.2 LTS
Client OS = ChromeOS 111.0.5563.100 (32-bit)
Server Host = Replit
URL to Code = https://replit.com/@JustinsKittens/JCStudios (Just fork it or press the < > (Show code) button)
If you need any more info, please tell me
Thank you in advance
Activity
Quix0r commentedon Sep 9, 2024
That code fragment needs to be replaced with
trueasget_magic_quotes_gpc()has been removed from PHP. If you do that, PHProxy's own function_stripslashes()is being used to sanitize input. There is some discussion going on around it: https://stackoverflow.com/questions/61054418/php-7-4-deprecated-get-magic-quotes-gpc-function-alternativemiglen commentedon May 27, 2026
Fixed by #48 — the repo now runs on PHP 8.5.6 with zero deprecations. The container-based dev setup is documented in the README. Closing.
Revive: PHP 8.5 compatibility, Docker support, CI