Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

b-cat on "How to submit page password via URL parameters"

$
0
0

I'm trying to format a URL link so that it will automatically submit the password for one of my password-protected pages, and will automatically load the page without the user having to manually type the password.

I'm thinking I need to create a URL something like this:

http://mysite.com/page.htm?[place various parameters here]

The variables below might be useful information. The login page for the password-protected page shows the following:

<form action="http://mysite.com/login?action=postpass" class="post-password-form" method="post">
<label for="pwbox-1234">  "Password:"
<input name="post_password" id="pwbox-1234" type="password" size="20">
<input type="submit" name="Submit" value="Submit">

Any suggestions on how to correctly format a URL so it will submit the password properly? Can this even be done?

Many thanks for any suggestions!


Viewing all articles
Browse latest Browse all 8245

Trending Articles