traduct:
Lire une source HTML = Read a HTML source
source.php:
-------------------------------------------------------------------
$contenu = file( $url );
while ( list( $numero_ligne, $ligne ) = each( $contenu ) )
{
echo "<B>Ligne $numero_ligne:</B> ".htmlspecialchars( $ligne ) .
"<br>";
}
-------------------------------------------------------------------
with function file() I show the HTML source
But you don't want ,visitor see the local source of your own file because if
file() open a local file PHP it see the PHP source.
If you used file_exists() to protect your own page , a malicious visitor can
use the vulnerability of this function to see the source php of your own
page.php !!!