GooYahBi is a project mainly written in PHP, it's free.
A quick YQL mashup showing how to search three engines in one HTTP request.