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!
I'm using this code to edit movie image. this should upload the image to the Images/Movie/ folder however it is not woking. The filename is being updated in the database but the image is found no where.
I tested this site on my wamp server and it is working. When hosting online it is not.
a) You don't have the right access for the folders "Images/Movies"
b) You are using the wrong path for the folders
c) In your host the folders names are not "Images/Movies"... maybe the name are "images/movies"
a) Regarding the right access I'm not sure to be honest and I don't even know how to check
b) The path folders are good
c) Forder Images path is Images/Movies
according to the move_upload_files() possible return values:
[text]"Return Values
If filename is not a valid upload file, then no action will occur, and move_uploaded_file() will return FALSE.
If filename is a valid upload file, but cannot be moved for some reason, no action will occur, and move_uploaded_file() will return FALSE. Additionally, a warning will be issued."[/text]