Home > Article > Backend Development > The php.exe program directly requests the url
Can php.exe in cmd directly request a url
? ? ? If so, what are the parameters? ?
Can php.exe in cmd directly request a url
? ? ? If so, what are the parameters? ?
Okay! Directly execute for example php.exe D:htdocsdeve.no.1wwwpush.php
It’s ok
<code class="php">php -r "file_get_contents();" php -r "readfile();"</code>
If you want to access the remote address, it is best to use curl