Herkese merhabalar,
Sunucu değişiklilği sonrası XML çıktısını convertte hata alıyorum. Bunu nasıl düzeletebilirim
<?php $arrContextOptions=array( "ssl"=>array( "verify_peer"=>false, "verify_peer_name"=>false, ), );
$xml = file_get_contents("https://www.siteismi.com/xml.php?c=php&xmlc=0123d213e1&username=epostaadresi&password=şifre", false, stream_context_create($arrContextOptions)); // your file is in the string "$xml" now. file_put_contents("dosyaismi.xml", $xml); // now your xml file is saved.Error log;
[20-Mar-2024 12:32:58 Europe/Istanbul] PHP Warning: file_get_contents(https://...@hotmail.com&password=şifre): failed to open stream: HTTP request failed! in /home/dizin/public_html/xml/xmlindir.php on line 12