Today we want to create a search box. The first thing we need to do is enable the Php filter module. This allows us to embed php snippets into the page node. This is done at
Administer->Site building->Modules->Php filter
Make sure that you are logged in as the Admin user and create a page.
We called our Search and added the following php code
Once the page is created you need to go Administer->Content Management->Content
And edit your page. Go to Input format and change it from Filtered HTML to Php code. Now save or do a preview.