scottybwoy Posted April 2, 2008 Share Posted April 2, 2008 When using fopen, if the file is not there will it create the file? Would I have to use a specific mode or context? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted April 2, 2008 Share Posted April 2, 2008 yes if you include the correct flag... those flags being w, w+, a or a+ if you read http://uk2.php.net/manual/en/function.fopen.php you would already be familir with that... Quote Link to comment Share on other sites More sharing options...
scottybwoy Posted April 2, 2008 Author Share Posted April 2, 2008 Thanks, I did remember reading it b4, but on checking it again I could not see hwere it says it will make a new file. Thanks for refreshing me though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.