0

writing to a file in php

whats is the difference between fopen(r+) and fopen(x+)

7th Feb 2019, 8:15 AM
Coding Beast
Coding Beast - avatar
1 Answer
0
In x+ created new file readable and writable. If file exists error and return false. In r+ if file exists open exiting file and else create a new file
12th Feb 2019, 12:14 AM
šŸ‡®šŸ‡·Mostafa 9112šŸ‡®šŸ‡·
šŸ‡®šŸ‡·Mostafa 9112šŸ‡®šŸ‡· - avatar