Look for <form action="some-web-page" method="XXX" ...> action tells you where the form fields are sent. method tells you if the server is expecting the data to be sent using a GET or POST command; GET is the default. In the case of GET, the arguments go into the URL. If method is POST, follow the instructions in the manual. Hope that helps. Tony
_____ From: Alan Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 4:39 PM To: wget@sunsite.dk Subject: php form There is a database on a web server (to which I have access) that is accessible via username/password. The only way for users to access the database is to use a form with search criteria and then press a button that starts a php script that produces a web page with the results of the search. I have a couple of questions: 1. Is there any easy way to know exactly what commands are behind the button, to duplicate them? 2. If so, then do I just use the POST command as described in the manual, after logging in (per the manual), to get the data it provides. I have used wget just a little, but I am completely new to php. Thanks, Alan