Link to home
Start Free TrialLog in
Avatar of Quantum_Leaper
Quantum_LeaperFlag for Afghanistan

asked on

Dreamweaver Developer Toolkit File Upload

Experts,

I have created a form using the Dreamweaver Developers Toolkit that will upload a file and insert a new record in a data table (PHP) .  One of the settings in the dialog box is to add the path for the uploaded files.  No problem with any of this, but I need to add the path to the file name during the insert so that the field in the database will accurately reflect the current location of the file.  It currently only inserts the file name.  Since this is a Dreamweaver extension and I am not a really good PHP coder, I don't really know what code to upload so if anyone has experience with the toolkit and has tackled this, I would be grateful for some help.
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Quantum_Leaper

ASKER

jason178

Thanks for the feedback on the ADDT.  

I think I get what you mean on the path.  I just added that to the image name variable selected from the database.  That was a good suggestion and certainly changed the way I will do these in the future.  As  right-brainier I don't often climb into the code but this was an easy fix. Thanks for the fresh perspective.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
jason1178:

Thanks for the additional information.  I will read up on the $_FILES array and learn how to use that for future forms.
>> I will read up on the $_FILES array and learn how to use that for future forms.

Actually, I'm wrong.  You set the path manually in the PHP code even with plain vanilla upload scripts.