View Single Post
Old 05-27-2003, 04:49 AM  
3Xguru
Confirmed User
 
Join Date: Sep 2001
Location: Iasi
Posts: 1,281
PHP help needed. Any experts?

I'm working on a script that fills out forms automaticaly.
The form url's are stored in a database, and I need to submit the variables to the forms using the post method.
The problem is that I do not know how to automaticaly submit the forms in php(without pressing a button for each form)

The code would look something like this:
PHP Code:
<?php

for($i=1;$i<10;$i++){
$url_form="http://www.anotherserver.com/form".$i.".php";
$name="John";
}
?>
How do I submit the variable $name to all 10 external forms in the loop using the POST method?
__________________
-=Free Webmaster Tools=-
3Xguru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote