1
Je fais un post de domaine cross dans .net, mais en net ils m'ont fourni un exemple de php .... je voudrais convertir le code php en .net. S'il vous plaît aider.quel est le code équivalent pour php dans C#
<?php
header('Content-type: text/html');
header('Access-Control-Allow-Origin: *');
$uri = 'http'. ($_SERVER['HTTPS'] ? 's' : null) .'://'. $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
echo('<p>This information has come from <a href="' . $uri . '">' . $uri . '</a></p>');
?>
, ajoutez également le ouput! –