FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


php upload problems





a_dubDesign
I'm using the flash file refrence to upload files with a php script. It seemed to work fine a week or so ago, but it doesn't any more. I'm really confused now. Here's the php script:

Code:

<?php
$_POST['MAX_FILE_SIZE'] = 6000000;
$target_path = "audio/";

$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);

if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo "The file ".  basename( $_FILES['uploadedfile']['name']).
    " has been uploaded";
} else{
    echo "There was an error uploading the file, please try again!";
}
print_r($_FILES);
?>


The strange thing is, I haven't changed anything to make it not work, at least I'm fairly sure I didn't change anything. Any ideas?

And before anyone asks, I already set the proper permissions for the folder.
Related topics
Build an online dictionary by PHP/MySQL
php upload issue
Wordpress post upload problems
I need a php upload script, NEEDED BADLY
[PHP] Upload de arquivos
Question about a php and mysql script.
PHP 5 problems...
Php upload scripti arýyorum..
PHP Security problems with latest frihost changes
php upload problem
PHP upload Max
How to build simple PHP upload form
Very weird persmission and upload problems
is there a good upload/download script?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.