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? Link to comment https://forums.phpfreaks.com/topic/99151-fopen-quick-n-easy/ 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... Link to comment https://forums.phpfreaks.com/topic/99151-fopen-quick-n-easy/#findComment-507286 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. Link to comment https://forums.phpfreaks.com/topic/99151-fopen-quick-n-easy/#findComment-507375 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.