PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
My host has been changed a week ago. my codes on my new host about upload file not working. while i'm uploading a file the $_FILES['file']['name'] variable has a value like "blabla.jpg" but the others like $_FILES['file']['size'], $_FILES['file']['tmp_name'] blank. So i cant upload the file.
how can be this??? what should do i??
please helppp
upload_tmp_dir needs to be set in php.ini. Unfortunately this can't be overridden with a call to ini_set() so you need to speak to your host. If you're using a free host it's possible they've deliberately prevented uploads. Ask your host