Join 5700+ of your peers
Get enriched. Access 1270+ quality tutorials right away on:
Solution 1:
To open a file in PHP the built in method - fopen() can be used. fopen() takes four arguments, three required and one optional, they are:
The name of the file to be opened
The file access type i.e. Read or Write access,
The path to the file
And
Optionally - The context of the file handle
What keeps you awake at night?
Do let us know.
We will try our best to deliver tutorials that will help you sleep much better.
The tutorials at have been written by by passionate teachers who have been using open source tools and technologies for years.
Real time images of their development screens are generously used throughout each tutorial.
Download the tutorials to your desktop as PDFs for ready reference whenever you need
Give us your comments or feedback on any of our tutorials.
Your comments help us deliver the best possible training modules.
Is there a specific tutorial you want written? Just Ask.