Quote:
Originally Posted by tony
I also learned the web 1.0 knowledge, just about 2 years ago I started learned up all the new stuff that was happening. I understand how overwhelming all this is getting. But man Cisco services is in itself a lot of work.
kudos man, that you are trying to figure all this out besides being the go to guy.
About your problem, are you trying to have a login form with a password textbox, username textbox, and the combobox to select where would the username and password input would go to be processed. After this do you want to send the user back to the index (or main page) already logged in if the loggin was successful?
If that's the case it can be done with curl or an ajax request.
|
Yeah Cisco is a handful....let's not even get into that! It is fun though!
Anyways, yeah, I think what you described is what I am attempting to do.
To make it simple, let's just say that the 2 options would go to 2 different websites with the username/password posted to them.
So say the two options were: AOL.com and TALKPHP.com
I would select one of the two, put in the username/password, hit submit, and it would then post my username/password post data to the selected site, and the selected site would take care of logging me in...
I thought that I could get clever and have a "switch.php" file that would use the PHP "header function" to redirect me to either site based on what I selected, but the problem is that I lose the $_POST[username] and $_POST[password] in the process of the redirection...
If only I'm able to hold onto the data and pass it forward then all is dandy....