This is an odd request as well as possibly the wrong forum as I am definitely a PHP Newb.
I am just learning PHP and learned how to make simple forms and take that information into a PHP script. I used this to make a feedback form and after some reading added some safety checks.
What I am trying to do now, is have a form with 2 fields (username/password) that when you hit the submit button would send the appropriate information to a cgi script elsewhere.
To be more specific. I currently have the form set but the form action is "http://www.somesite.com/cgi-bin/login.cgi". This allows me to login to the other site through my own. Works like a champ. Problem is I don't want the source of the CGI viewable by someone just viewing the sourcecode nor my referral id which is in a hidden input field.
So I figure, just like with the mail.php script, I can have the post action set to "login.php" and that script would collect the variables and forward them to the cgi script.
I am sure that something like this is simple and quite possible so I am looking for some direction to set this up. Again, I am very new to PHP so don't assume I know most things.
Thanks for you time.