Snubby Posted October 10, 2006 Share Posted October 10, 2006 Open a File Tutorial on W3SchoolsI don't understand what this tutorial is trying to teach me, and part of the reason is that I don't really know what it means (in that context) to 'open a file'. Can somebody please explain to me or show me what this means? Thanks in advance Link to comment Share on other sites More sharing options...
Akula_dude Posted October 11, 2006 Share Posted October 11, 2006 Okay, say you have a text file on your server. It has the text "Hello, world" in it. with the code in that tutorial, you can open the file and echo it's contents (writing "hello world" on the page). This is useful because you can have several pages all opening the text file, and when you change one file (the text file) all the pages change. Link to comment Share on other sites More sharing options...
Snubby Posted October 12, 2006 Author Share Posted October 12, 2006 Cool, thanks for the words. Somehow I got it in my head that it meant something like a file upload system This will come in handy, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now