FAQ Database Discussion Community


FileZilla uploads files with 000 permissions [closed]

file-permissions,uploading,filezilla
I've been having problems with FileZilla a few days now. I have a server running on CentOS with Apache etc. And am uploading Wordpress to a new domain on my server. I've done this a million times before and am currently running 3 other properly working Wordpress sites on my...

Arduino uno not uploading

c,arduino,uploading
Uploading sketches to my arduino uno worked fine. Now uploading won't work. I get the following error. Is there a way to reset my board? Using the built-in reset button does not help. Error: Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno" Binary sketch size: 7,878 bytes (of a 32,256...

Restricting upload to mp3 only

php,mp3,media,uploading
I have been working on a PHP script that allows people to upload MP3 files to the server: $target_dir = "upload/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $fileType = pathinfo($target_file,PATHINFO_EXTENSION); // Check if image file is a actual image or fake image if(isset($_POST["submit"])) { $uploadOk = 1; }...