How does PHP automatically send a GET request?
Connection?>
PHP files.
As in the code, how to do when you open this page, automatically click on the inside of the "connection" and jump.
Reply to discussion (solution)
Can use curl also can use JS
Jump directly with head location.
Inside should write PHP syntax content, do not write HTML things, if you have to write the words to be written under
';.... echo ';? >
How does PHP automatically send a GET request?Connection
Send a GET request? It's pingback or something.
The possible options are:
1. file_get_contents, curl, etc.
2. JS control.
3. Hidden iframe or image? no test.
Get the href of a tag in JS
Then location.href= the URL
Opens the page automatically jumps to the specified page, and takes the parameter.
$ (). Ready (function () { $ ("A"). Trigger ("click");})
In fact, the use of code virtual one-time a-tag click!