Frage

Ich habe dieses Skript, das generakodicetagcode erfordert, was keine gute Idee ist und ich den generellen ARTIKALADICETAGCODE ändern möchte.Ich freue mich, ob jemand mir helfen kann, mit dem generationspflichtigen Genera-Modizidagcode. generasacodicetagpre.

War es hilfreich?

Lösung

If I understand your question correctly, you're just looking for how to send the HTTP request (that's what your fputs($SH, "GET ...") is doing, that is done using curl_exec(). Seems like this should work.

$ch = curl_init();
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_PORT, $Port);
curl_setopt($ch, CURLOPT_URL, $IP . '/7.html');
curl_setopt($ch, CURLOPT_USERAGENT, 'S_Status (Mozilla Compatible)'); 
//tell curl to return the output, not display it
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
//execute the request
$content = curl_exec($ch);
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top