Ich hab mit meiner Hausfrauen-Improvisation erstmal was hingekriegt was mich befriedigt.
...
$pfad = 'http://validator.w3.org/check?uri=...';
$data = file_get_contents($pfad, 0, $ctx);
if (preg_match("/Validation Output:.*?\d+ Errors/" $data, $result)) {
remot_control_vibrator($result);
}
ungetestet *g* SCNR