01-02-2007, 12:54 AM
ce script ne veux pas afficher le contenue de la page apeller via $include
pourquoi ?
pourquoi ?
Code :
<?
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
<head>
<title>Cybers-Monster</title>
</head>
<body>
<?php
echo'<a href="?action=inscription">inscription</a><br/>';
echo'<a href="?action=log">Connection</a><br/>';
echo'<a href="?action=tchat">Tchat ^^ </a><br/>';
if(!empty($_GET['action']))
{
include('pages.php');
echo'<iframe SCR="'.$include.'" width="500" height="300" scrolling="auto">';
include($include);
echo'</iframe>';
}
?>
</body>
</html>