Jump to content

sntshkmr60

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by sntshkmr60

  1. I am developing the file locally with LAMPP and my source file is like this:

    <?php echo "The server is working"; ?><?php$file=fopen("file.txt", "r") or exit("Unable to open file!");?>

    In the same directory is a text file named file.txt and it has a line on text in it. The output however is only The server is working. Nothing else.

×
×
  • Create New...