Friends, There is a file hello.php You need to transfer a variable to the file from the outside, that is, if the file itself was in the folder with the website, it would look like this:
http://helloworld.com/hello.php?param=1 but in this case I’m not accessing the file through the browser, but through CRON, that is, the file is roughly launched like this:
php hello.php?param=1 The server gives an error:
Could not open input file: hello.php?param=1 I suppose there must be some other way to pass the param variable to the php file?