Home > Backend Development > PHP Tutorial > The php.exe program directly requests the url

The php.exe program directly requests the url

WBOY
Release: 2016-09-14 09:41:25
Original
1545 people have browsed it

Can php.exe in cmd directly request a url
? ? ? If so, what are the parameters? ?

Reply content:

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>
Copy after login

If you want to access the remote address, it is best to use curl

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template