User carries out a search and checks a check box for whatever database they wish to search. All queries are them sent to one script. And depending on what check box was checked the script re-forms the query and sends it on to the relevant database. This is required because all three databases use a different query string but must all come from the same search box.
What I want to do is log all queries, reguardles of what checkbox is checked. Is it possible to have the form send the info to two diffeent locations. One to handle the query and one to log it. Or would I be better to hack the existing cgi to record to a file using fopen
Thanks for your help.
Mack.
There are things you can do with JavaScript but it would be ugly and puts reliance on JavaScript at your client.
Alternatively, I think you can process the POST information and then send the browser a 302 (page moved) to the second script. IE handles this begrudgingly because it just went to the bother of POSTing it where it was told - i'm not sure how this stands standards wise.