On Tue, 13 Jul 2004 19:42:19 -0400, John W. Holmes <[EMAIL PROTECTED]> wrote: > Does anyone know of a program that'll "record" the clicks and requests > as I go through a site? Something that'll watch as I click on links, > fill in forms, etc and then be able to perform the same requests > (duplicating the forms, cookies, etc)?? Maybe a PHP script that can be > dropped into an existing program and be turned on or off? > > Any ideas? Anyone think this is possible to implement in PHP and then > use Curl or a PEAR class to reproduce the sequence? >
Well, you can reproduct this with PEAR HTTP_Client. As for recording it, I don't know of anything specific, but you could, for instance, use the auto_prepend functionality of PHP to do something like this: $vars = '$vars[] = array('uri' => "'.addslashes($_SERVER['REQUEST_URI']).'", 'get' => '.var_export($_GET, true).', 'post' => '.var_export($_POST, true).', 'cookie' => '.var_export($_COOKIE, true).');'; Then you could save $vars to a file and then include it from some other script, loop through the contents, and send requests. :-) -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php