in reply to Re^2: Create file in a specified directoryin thread Create file in a specified directory
yes , sure you can check for that
#check if the $dir does not exits then we create it if(!-d $dir){ mkdir($dir);} [download]