I\'ve attempted to write code to have a file uploaded to a \"media\" folder in PHP. For some reason it continues to not work.
Here\'s the execution code:
<
In your form tag you want something like this
Make sure enctype is set to multipart/form-data for files. Replace uploader.php with the name of the php file doing the processing. Also make sure your permissions are set so the file can be created in the directory.
Here's a list of possible problems: http://php.net/manual/en/features.file-upload.php