tr33m4n Posted October 13, 2008 Share Posted October 13, 2008 Hello there, I need help. Basically I have a form approximately like the following: <form name="loginform" id="loginform" action="action.php" method="post"> <p> <label>Username<br /><br /> <input type="text" name="log" id="user_login" class="textarea" value="" size="20" tabindex="10" /></label> </p> <p> <label>Password<br /> <input type="password" name="pwd" id="user_pass" class="textarea" value="" size="20" tabindex="20" /></label> </p> <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> Remember Me</label></p> <p class="submit"> <input type="submit" class="sendbutton" name="wp-submit" id="wp-submit" value="Log In" tabindex="100" /> <input type="hidden" name="redirect_to" value="index.php" /> <input type="hidden" name="testcookie" value="1" /> </form> Which does its job perfectly well. However I need this form to submit the same variables entered into the password and username fields to a different location but with different input names. This is because one of the scripts that will process the login I cannot edit and has pre-determined names for the data to be submitted to... if that makes sense. The other script thats going to process this data is my wordpress blog. basically i want a login form that will log me into, say my hosting account and my blog. Im rather new when it comes to php and can usually get by, however this has stumped me. Or if anyone knows how to edit the wordpress login system to use the same form 'names' then that would be great also. Im sorry if im not making much sense Many thanks Dan Link to comment https://forums.phpfreaks.com/topic/128236-problem-with-form-submission/ Share on other sites More sharing options...
tr33m4n Posted October 16, 2008 Author Share Posted October 16, 2008 Anybody at all? Link to comment https://forums.phpfreaks.com/topic/128236-problem-with-form-submission/#findComment-667167 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.