hello, i got a table to upload images, the file is being uploaded with the insert form, but in the wrong directory, it's supossed to be uploaded into the /uploads/ directory instead is being uploaded into the main one,
ive been playing with this line in the config.php file
// absolute path of the upload dir - please put slash (/) at the end
// e.g. 'c:\\data\\web\\dadabik\\uploads\\' on windows systems
// e.g. '/home/my/path/dadabik/uploads/' on unix systems
// make sure the webserver can write in this folder and in the temporary upload folder used by PHP (see php.ini for details)
$upload_directory = '';
but it still uploads the file into the same directory, it just changes the name of the file, or gives a php error when i upload.
what do i need to do?
thanks
Post Edited (12-18-06 03:21)
ive been playing with this line in the config.php file
// absolute path of the upload dir - please put slash (/) at the end
// e.g. 'c:\\data\\web\\dadabik\\uploads\\' on windows systems
// e.g. '/home/my/path/dadabik/uploads/' on unix systems
// make sure the webserver can write in this folder and in the temporary upload folder used by PHP (see php.ini for details)
$upload_directory = '';
but it still uploads the file into the same directory, it just changes the name of the file, or gives a php error when i upload.
what do i need to do?
thanks
Post Edited (12-18-06 03:21)