Hello i coding a Webcrawler and when i want to test it i had this error: Parse error: syntax error, unexpected '"header"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in C:\xampp\htdocs\zensored\noname\DOMParser.php on line 11
This is the code: $request_options = array( "http" => array( "method" => "GET" "header" => "User-Agent: webcrawlerBot/0.1\n" ) );
Can anyone help me please?
Aucun commentaire:
Enregistrer un commentaire