Auto send post request to a web form

Darren66

Newcomer
Joined
Jun 9, 2003
Messages
20
Is it possible to call a webpage that has a form on it and get the form's action to run automatically, having used a variable to populate the forms field?
Code:
<Form Action=name.php Method=Post>
  <Input Name=FirstName Value='username'>
  <Input Type=Submit>
</Form>

(My webpage is on an Apache server and I'm using php if it makes any difference..)
 
Check out the WebClient class, it can send requests to webservers and allows you access to the data returned.
 
Back
Top