altemp.
How come filename include the directory
The same thing happens to me, I want to save only the file name in my database, but I want it to be saved within a specific directory, disk "private", directory "invoices". I can change to force not including the directory in the database, but if I do this, it doesn't save in the target folder, and vice versa, I can save it in the target folder, but in this case, it's impossible to remove the name of that folder from the database... Any solution/suggestion?
75 replies