PHP get传值和post传值(不用表单形式)
GET传值
$html = file_get_contents("URL?a=xxx&b=xxx");
dump($html);
函数file_get_contents():
file_get_contents
Reads entire file into a string
<?php
function file_get_contents(
string $filename,
bool $use_include_path = false,
$context,
原创
2021-11-17 16:30:52 ·
538 阅读 ·
1 评论