Re: filling out HTML forms

From: Date: Thu, 05 Aug 2004 17:53:00 +0000
Subject: Re: filling out HTML forms
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-192916@lists.php.net to get a copy of this message
On Thursday 05 August 2004 13:43, John W. Holmes offered up the following tid-bit of information : <snip> > You can use cURL or one of the PEAR classes to have your PHP script fill > out the form on the remote computer... will take some work, but it's > possible. > > Actually, you could just simulate a POST / GET request to the file that > handles the form processing instead of actually attempting to fill out > the form. Again, cURL and some PEAR classes will help here. > > ---John Holmes... But the OP would still have to have access to at least the HTML of the other form right? cURL can't fill out form on another site if the HTML isn't set up to do it, can it? like : <input type="text" name="foo" /> vs. <input type="text" name="foo" value="<?php echo ( $foo ); ?>" /> -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#192916) next »