i am trying to open a file in php but its not.
1. i saved a txt file, called welcome.txt
"welcome to PHP file"
2. then i wrote another file, "file.php".
<html> <body> <?php $file=fopen("welcome.txt","r"); ?> </body> </html>
3. "file.php" and "welcome.txt" on the same directory.
4. i went to browser and typed URL/file.php
but i get blank screen.
will i supposed to see the content of welcome.txt in the browser screen?