Answer the question
In order to leave comments, you need to log in
How to run a php script with get parameters?
There is a page that takes a very long time to form. Its address contains get parameters. The goal is to run a script that bypasses the runtime limit.
via the php index.php?param=value command does not work, because as soon as the ? sign appears after .php an error is thrown.
Through wget site.ru/index.php?param=value is cut off by timeout.
Is it possible to start somehow or is it just an option to go to vps?
Answer the question
In order to leave comments, you need to log in
Looks like I found a solution. You can create a script in which I "manually" set the get parameters and include my main script in it.
The command line would be:
php -r '$_GET["param_name"]="param_value"; include "index.php";'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question