Help integrating DFP into site.
I am new to Digital File Pro, so please be gentle. :)
I will start by explaining what I am attempting to accomplish.
I am tasked with building an intranet support matrix, for quick relevant troubleshooting steps for our helpdesk to view and assist in entry level troubleshooting before escalation.
the directory is named "supportgrid"
The index page, consist of a simple table, that echos the form data in an easy to read manner and is ordered by application/system. (See screenshot below.)
when adding a new system, I have a form for creating new entries named addnew.php
This op-test perfect, and works as expected.
Now on to what I want to accomplish.
As you can see from "Attach File" link at the top, this leads to a new page, called attachfile.php.
This page is very simple, in that all it offers is the file field, and an upload button.
Now here is where it gets fuzzy, so bear with me, I will attempt to explain.
What I want this to do, is to post the file to the directory, and then link the path of the file to a column in the database, so that the link can to echo'd on the listing page.
So essentially process would be: from attachfile.php page, they browse to file, select it, click upload. File is shown below as successfully uploaded, the page is redirected back to the form, and the attached file is now show at the bottom of the form, so when the completed form is submitted, the path the file is stored in the database, but the file itself resides in a directory name "uploads".
Would anyone be able to lend assistance? If you need any more information, please feel free, I will do my best to elaborate.
Thank you for any help you can provide.