Variable Titles Problem
Posted: Sun Aug 13, 2006 1:47 pm
I hope someone can help. I am a bit of a newbie to php.
I am running two programs on my site. Both require logins. I have placed login panels to both on my homepage.
The only problem is that both scripts need variables called username and password.
This causes a validation error as you can imagine.
I know that one method would be to change one of the programs variable names, but this will violate my licences.
I cant think of it, but is there a way I could write a simple php page that collects variable for one of them using new names such as username2 and password2, rename them to username and password but retain the results, and then automatically post them to the second program script using the correct variable names?
I hope someone can help with this.
Regards
Cosarin
I am running two programs on my site. Both require logins. I have placed login panels to both on my homepage.
The only problem is that both scripts need variables called username and password.
This causes a validation error as you can imagine.
I know that one method would be to change one of the programs variable names, but this will violate my licences.
I cant think of it, but is there a way I could write a simple php page that collects variable for one of them using new names such as username2 and password2, rename them to username and password but retain the results, and then automatically post them to the second program script using the correct variable names?
I hope someone can help with this.
Regards
Cosarin