Uhmme... Im having trouble CHMOD'ing the uploaded file!
I just tryed to use the CHMOD() function, but there is a problem with the permissions...
Upon uploading the file "jokkos.jpg" i get the following error message:
Warning: chmod(): Unable to access /pics/jokkos.jpg in /customers/themarigold.net/themarigold.net/httpd.www/medlemmer/upload.php on line 35
Script is looking like this:
As you can see I just added the chmod() function at the end of the script...
Maby I should just use your simple upload script NeverMind, you seem to know what your dooing
