Page 1 of 1
Passing data form to form
Posted: Tue Apr 01, 2008 9:11 pm
by computerhobbit
I have been hacking for several years and tend to find answer on my own, but IM STUCK...
Setup
1. Form(1) populated with data
2. Form(2) needs CERTAIN data from Form(1)
3. Cannot access Form(1)/Form(2) backend data or code. Meaning I cant pull the data I need from the backend or code from inside the forms.
I need a PHP script to pull portions of the Form(1) data and enter it into Form(2). Thank you for your help

Re: Passing data form to form
Posted: Tue Apr 01, 2008 10:00 pm
by Christopher
Make both forms a single PHP script that passes everything to itself and track the state of the sequence.
Re: Passing data form to form
Posted: Wed Apr 02, 2008 11:46 am
by computerhobbit
As #3 states, I dont have code access to either form. I need an in between form to get data from one form to another. Also I might be using FORM to loosely.
1. Form(1) is a list of data
2. Form(2) is a true Form with text fields
I need to get data from Form(1) to text fields in Form(2) and I dont have ANY access to either Form(1) or Form(2). Thanks.
Re: Passing data form to form
Posted: Wed Apr 02, 2008 12:11 pm
by EverLearning
1. use curl to get data from list of data(Form(1) as you call it)
2. parse received data to extract what you need
3. post data to Form(2) using curl
Re: Passing data form to form
Posted: Wed Apr 02, 2008 8:12 pm
by AMCH
computerhobbit wrote:As #3 states, I dont have code access to either form. I need an in between form to get data from one form to another. Also I might be using FORM to loosely.
1. Form(1) is a list of data
2. Form(2) is a true Form with text fields
I need to get data from Form(1) to text fields in Form(2) and I dont have ANY access to either Form(1) or Form(2). Thanks.
What do you mean you don't have 'code' access to either form. Are you suggesting that you are trying to mess up someone else's website?
This is really not a nice thing to do and I hope you are not.

Re: Passing data form to form
Posted: Wed Apr 02, 2008 8:53 pm
by John Cartwright
AMCH wrote:computerhobbit wrote:As #3 states, I dont have code access to either form. I need an in between form to get data from one form to another. Also I might be using FORM to loosely.
1. Form(1) is a list of data
2. Form(2) is a true Form with text fields
I need to get data from Form(1) to text fields in Form(2) and I dont have ANY access to either Form(1) or Form(2). Thanks.
What do you mean you don't have 'code' access to either form. Are you suggesting that you are trying to mess up someone else's website?
This is really not a nice thing to do and I hope you are not.

Explaining
why you need to do this may help us show you other approaches as well.
Re: Passing data form to form
Posted: Wed Apr 02, 2008 9:57 pm
by computerhobbit
LMAO, NO WAY.....This is for works. I am trying to make a process better....I work for 2 vendors and have to enter information from list of data to a form, but since I am outsourced, I only have certain rights. BTW, there are tools like ROBOFORM, but I dont think that will work.

Re: Passing data form to form
Posted: Thu Apr 03, 2008 8:52 am
by John Cartwright
computerhobbit wrote:LMAO, NO WAY.....This is for works. I am trying to make a process better....I work for 2 vendors and have to enter information from list of data to a form, but since I am outsourced, I only have certain rights.
Why is this funny? If you work for them, then I'm sure you will be able to get permission to modify the forms if it's obstructing being able to do your job!
We'll in that case, go with
EverLeaning's advise.