I'm wondering if it is possible to create files in php, and if it IS possible, how i would go about doing that. I don't know much on this particular topic so any help would be appreciated.
My code would be something simple, like this--->
$file = "data/".$i.".txt";
if(!file_exists($file))
{
//Create the file specified in the $file variable
}