Simon--

Why not follow the KISS approach? Generate the GET or POST 
directly from the client. No PHP or server-side processing 
needed.

--John


On Friday 25 July 2003 10:09 am, Simon Fredriksson wrote:
> I'm making a search-engine script for my site that
> redirects users to other search engines. Point is that on
> the website, there's a drop-down box with some engines
> and one textfield.
>
> 1. User enter the search query.
> 2. User selects which engine to use.
> 3. User submits.
> 4. PHP scripts checks which engine and redirects the user
> and the query to  the selected engine.
>
> Now the thing is that some of these engines use POST
> method, which makes it a bit harder to redirect the
> query. For those who use GET I just have to use something
> like Header("Location:
> http://somewnine.com/query=$query";);
>
> So, does anyone have any good solution to this problem?
>
> //Simon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to