PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $url = 'https://rus.postimees.ee/rss'; $html = file_get_contents($url); $contentType = 'https://rus.postimees.ee/rss'; foreach ($http_response_header as $header) { if (strpos($header, 'Content-Type') === 0) { $contentType = $header; break; } } echo $contentType;
Show:  
Copy Clear