Maybe I need to tell you more about what I am trying to do.
I have kind of library site with all kind works published in it and, like mine, there are some other sites of the same kind.
I need to use an ‘action’ that will go searching my site and then the other sites (of my choise) for the same key word.
I was thinking of something like comma separated site names.
A form cannot have multiple urls as action. And how do you imagine your idea of action “searching your site and other sites” to work? When you submit a form to a url then the browser is redirected to this url and the action results (search results) are displayed at this url. Redirecting to multiple urls doesn’t make sense since a single browser window can open only 1 url. You need to tell us more how you imagine this to work. Multiple iframes? Multiple windows? Single page with results from all searches?
Then I don’t think there is any other way than what 2ndmouse said above. Submit the form to a php script and have the script load the search results from the other sites (for example using curl) and combine them into a single html page. This may or may not be easy depending on how the result pages are structured, how different they are and most probably this will require some html parsing.
Compiling search results from multiple pages can take a long time but it can work well for 2 or 3 sites…
[ot]
Polish women are pretty :)[/ot]
But it looks like the OP wants to display all results on one page and not change the form action dynamically. But with a little bit of javascript (+ajax) it would be possible to query each site for results and display them on a single page. It would be a little harder to do than in php but potentially it would work faster because the browser could contact all sites concurrently while php would have to contact them one at a time, and also there wouldn’t be the need to contact the php script’s server.