i have a website which is resposive and built mainly for mobile use, Now i want to save a text file to mobile either memory, But from what i have tried it directly saves the file in server. is there a way to save it in mobile memory or giving such patch that it can be saved outside the root directry?
$handle = fopen($backup_name,'w+');
fwrite($handle,$content);
fclose($handle);
echo 'done';
this is what i have checked so far, in pc i can store it any where but i need it to store in certain location of mobile