benslayton
01-31-2010, 10:51 AM
Heres what I am trying to acomplish. I need to automate making databases from a php script. My host doesnt have an API for this and the control panel is proprietary to them.
Currently my script will post my username/pass over using cookies and display a secure page.
So now I need to post to a secure page inside the web manager.
Only problem is this...
The way the form process works normally is a 2 step process.
First form is database name info and then once you fill that out you get redirected to domain.com/AddDatabaseUser.do
This is the part i dont understand. If the form was a one step process I would understand. So my question.
How do I post first to domain.com/AddDatabase.do and then post to domain.com/AddDatabaseUser.do and keep the posted info from the web hosting server to stay posted to the 2nd form page "domain.com/AddDatabaseUser.do"?
Thanks,
Ben
Currently my script will post my username/pass over using cookies and display a secure page.
So now I need to post to a secure page inside the web manager.
Only problem is this...
The way the form process works normally is a 2 step process.
First form is database name info and then once you fill that out you get redirected to domain.com/AddDatabaseUser.do
This is the part i dont understand. If the form was a one step process I would understand. So my question.
How do I post first to domain.com/AddDatabase.do and then post to domain.com/AddDatabaseUser.do and keep the posted info from the web hosting server to stay posted to the 2nd form page "domain.com/AddDatabaseUser.do"?
Thanks,
Ben