M
Marco T
Guest
Hello,
I'm getting crazy with the upload dir.
The upload and following reference to the uploaded files work only if I don't put anything in the dir variables, i.e.:
$upload_relative_url = '';
$upload_directory = '';
But then, when I try to Edit or Delete a record, I get the 404 error.
I can see the the uploaded files fall in the dadabik root directory.
OTHERWISE_______
If I put the default:
$upload_relative_url = 'uploads/';
$upload_directory = '';
the uploaded files again fall in the dadabik root directory, but then the script searches the files in the (root)/uploads/ directory (and of course it doesn't found them).
OTHERWISE________
if I put something in the
$upload_directory =
I get an error while inserting a new record.
Please help me, I can't fix this even looking at the other posts on this forum.
Thank you very much,
Marco
I'm getting crazy with the upload dir.
The upload and following reference to the uploaded files work only if I don't put anything in the dir variables, i.e.:
$upload_relative_url = '';
$upload_directory = '';
But then, when I try to Edit or Delete a record, I get the 404 error.
I can see the the uploaded files fall in the dadabik root directory.
OTHERWISE_______
If I put the default:
$upload_relative_url = 'uploads/';
$upload_directory = '';
the uploaded files again fall in the dadabik root directory, but then the script searches the files in the (root)/uploads/ directory (and of course it doesn't found them).
OTHERWISE________
if I put something in the
$upload_directory =
I get an error while inserting a new record.
Please help me, I can't fix this even looking at the other posts on this forum.
Thank you very much,
Marco