Bonjour,
dans un fichier PHP, j'ai inséré une iframe ; ainsi :
?><iframe frameborder=0 src="http://---/test.php" ></iframe><?php
, mais le fichier n'est pas appelé, alors que je suis sûr d'être passé sur ce code, et que si je teste à part ce fichier, il marche.
test.php :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>test</title>
</head>
<body>
<?php
$to="mail@ext";
$subject="test sujet";
$msg="test msg";
mail($to, $subject, $msg);
?>
</body>
</html> |
Comment le faire marcher ?
Partager