What is the use of file in php?
For instance, if I have a file that contains this:
Then this is how the file function returns it:
$contents = file("myfile.txt");
 => Hello
 => This
 => Is
 => My
 => File
More files PHP QuestionsI am trying to find the most recent directory that I am working in. example http://www.mysite.com/apples/index.php how do I get php to find the directory "apples" so I can make it a directory
Hello, I have a php file that has octet binary numbers in it. How can I see the actual wording? This is an example of how it look: 00111010 11010010 And so on.
How do i keep my site menu in one file?
How can I view a Word document in a PHP page?
What does file_get_contents do?