|
Re: Image not uploading
Hi, thanks but ive sorted it now. I can't remember what I did but I think id got the path wrong.
Don't suppose you know how to delete directories? I have subdirectories which I want to delete (they contain pictures). The pictures are set to 644 but the directroies are 777 so I thought I could just delete the entire directory using
unlink($delete_path);
But when i try it, it says warning $delete_path is a directory and doesn't do it. I can delete individual images using it though. Does this just work for files and not directories or do I need to have the images also set to 777 (I didn't think I would because it deletes the images set at 644 since they are in the directory set at 777)
Thanks
|