How do you write a path to the hard disk in php?
Posted: Thu Nov 15, 2007 9:39 am
I'm trying to write a form that creates files and saves them to my hard drive.
I don't want the $file_directory to save to server, I want it to save to my hard drive. What would I put for $file_directory or is there a totally different way to do that?
Code: Select all
if(isset($_POST['submit'])) //form submitted
{
$file_directory = "???????"; //the directory you want to store the new file in
}