Hi All,
This is new to me, so I need some guidance on how best to parse a URL. Here is what I would like to happen -
My application is an accounting program. I have lots of already prepared base databases and I allocate one to each new user. I store the database name in the sec_users table so that after log in, they can access their own data.
So,
- A payment gateway, on a successful check out, will do a “Thank You” redirect URL and I can add various bits of information to that URL string, using the usual ? to store the variables I need to register a new user.
- The redirect URL will be sent to a control app.
- in that app I wish to parse the URL for the specified ? variables and add a new user to the security tables using that information.
- It is intended to provide the purchaser with immediate access to a program and their own database.
So, how do I parse the URL so I can get the variables filled.
Thanks
Tony
PS. If there is a better way to do this sort of thing - tell me about it - I am new to PHP.