Read a line from a file and check
Hey guys,
My friend is trying to get a line from a file (you can see how the line should look like in the file from the formatex function he used), I helped him design it a bit cuz it didnt work for him and thats what came out: PHP Code:
|
Re: Read a line from a file and check
Quote:
You can't write to a file that was opened for read-only access. |
Re: Read a line from a file and check
Rofl, perhaps. Still I remember that I used it on my Auto-Mix plugin, and it worked well.
But if you say so, how can I open a file which I can Read & write? "rw"? |
Re: Read a line from a file and check
Yeah sorry my bad, I thought it doesnt matter. The right flag would be "r+"
|
| All times are GMT -4. The time now is 08:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.