The touch() function used to create the file.
Example
if(file_exits("abc.txt")){
echo "file already exits";
}else{
touch("abc.txt");
echo "file has been created";
}
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.