This is WRONG WRONG WRONG!
If you have a wizard which sets the upload folder the user SHOULD NOT BE EDITING CODE!!!!
This application doesn't work and needs fixing.
If I set a RELATIVE folder as usefiles/
in a wizard - then thats the RELATIVE folder - be it on a server locally or remote or where ever.
If the database gets a fixed path from the root of the server locally (you must realize that a local mac server puts the Users name in the file path from the apache root!) for every image - then the database entry is USELESS when uploaded.
Site relative us USELESS and is not transportable.
How you can think this is working correctly is beyond me!
BTW - Even IF you MANUALLY CHANGE THE CODE on the server
the images still DO NOT APPEAR IN THE HTML EDITOR WINDOW
The (unknown image) may get the right path from the third party filemanger - but you cant see what images are on the page
This application is flawed - please prove me wrong