Viewing the Source of a Document : Text File Read : File Directory PHP Source Code


PHP Source Code » File Directory » Text File Read »

 

Viewing the Source of a Document



<html>
<head>
<title>Viewing the source of a document</title>
</head>
<body>
<form action="<?php print $PHP_SELF ?>" method="get">
Enter file name (test.txt):
<input type="text" name="file" value="<?php print $file; ?>">

<p></p><hr><p></p>

<?php
if isset$file ) )
    show_source$file or print "couldn't open "$file"";
?>

</body>
</html>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Text File Read