[desc]: _Hi I have a working form but after submission I want to send the data to another website form for submission into a different database.
I have no problem with the normal input data like single line text as I can use $_REQUEST["Surname"]; to get the data, but I am not sure how to access the newly created file name of an uploaded file (after checking the attachments folder in the plugins/cforms the files I have uploaded have been renamed). Would it be $_FILES["cf_uploadfile2-28"] or something similar?
Usually, if you use cforms 'alternative action' feature, all control is passed on to the third party and cforms neither validates the input (although ajax would work) nor would it track the input…
Hi Oliver thanks for the response I am not using the 'alternative action' setting I am using the full features of the cform and then on the page where I submit the cform I create a link to another form submission on a different domain. I am just using php to get the submitted data verify it and send it off again.
The only thing is I need to pull the location/name of the uploaded file to send with it. if I have to do a sql lookup to find the renamed uploaded file that would work great but i am just not sure how I can find the unique id of the submitted form.
Hi Oliver thanks for the response I am not using the 'alternative action' setting I am using the full features of the cform and then on the page where I submit the cform I create a link to another form submission on a different domain. I am just using php to get the submitted data verify it and send it off again.
how do you send it off again, if you don't mind me asking? (just curious)
The only thing is I need to pull the location/name of the uploaded file to send with it. if I have to do a sql lookup to find the renamed uploaded file that would work great but i am just not sure how I can find the unique id of the submitted form.
It is a bit around the houses but I cannot have direct access to the database on the different server so I am having to use loads of iframes to pull in results from another domain and I got the idea from a script that auto sizes an iframe that is on a different server, and how I am having to pass data back and forth between domains to keep the browser back button working correctly.