TripleDES Posted October 11, 2007 Share Posted October 11, 2007 All, I want to create a script that performs the following: 1. Access a page and submits authentication credentials (www.example.com/login.html) 2. Once authenticated, grab values of a form (www.example.com/logs.html) I just need to be stepped through the thought process. Unfortunately, I can't use cURL because the main page doesn't request for authentication. Instead, it's an authentication form/page. Or perhaps I can still use cURL, but not use its auth mechanism of CURLOPT_USERPWD. Here's the form parameters that must be submitted: <label>Username:</label> <input type="text" size="14" name="username" value="User" /> <label>Password:</label> <input type="password" size="14" name="password" value="" /> <input type="submit" value="Login" /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.