G
G
GOODES2021-08-27 20:26:40
PHP
GOODES, 2021-08-27 20:26:40

How to use global_registers On in PHP 8?

Please let me know if anyone knows. I put a new server for the site and I use php8 but since all the scripts used to work with php5.1 everything worked well. Now I cannot send a request to the database due to the fact that the variables passed in the address bar are not valid. A lot of scripts use such variables, so you don't want to rewrite them. I know about the shortcomings of clobals_registers. I just need everything to work like before. There is no such entry in php.ini at all, if I add it, then the server does not start. I tried to throw .htaccess (globals_registers On) into the folder with the site, it did not help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
toxa82, 2021-08-27
@GOODES

It was cut a long time ago in PHP 5.4.0.. Rewrite the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question