mikelmao Posted April 21, 2009 Share Posted April 21, 2009 Hello, I want to Create a Directory with the fopen function, But it keeps saying that the directory doesnt exist... It doesnt because it needs to create one... How do i let it create a directory and create a File in that Directory Link to comment https://forums.phpfreaks.com/topic/155053-fopen-creating-directory-and-file/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 21, 2009 Share Posted April 21, 2009 Your code must make directories before it can create files in them - http://php.net/mkdir Link to comment https://forums.phpfreaks.com/topic/155053-fopen-creating-directory-and-file/#findComment-815502 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.