Hello
This is probably an were easy thing to do for everyone with atleast some experience in php. What I want to do is I want php to get the text in an .txt file and write it out. Meaning that if I got an layout and such, and I want it to get the text to print out on the page from an text file. So I could link like this:
http://localhost:80/text.php?txt=text.txt
So when I write that is prints out the text.txt and the layout from text.php
in the text.php I could write like this:
<?PHP
if(isset($text)) {
echo ("$text");
}else{
echo ("No text to display");
}
?>
But instead of echo the $text -file name I want the text that the file contains to be printed out.
Sorry if the explanation wasnt the best...