The Site Search Form uses PHP (a scripting language) to handle the search itself, and the presenting of search results to the user.
It should be noted that while the vast majority of Internet hosts (hosting Web sites) do support PHP, a small percentage do not. If your host does not support PHP then in order to make use of this feature (and some others in XSitePro also) you will need to consider relocating your site to a suitable provider.
To check whether or not the space to which you are proposing to publish your site supports PHP you can use the handy ‘PHP Checker’ tool, included in XSitePro.
To launch the PHP Checker, you simply need to click the 'Check for PHP Compatibility' button.
This will run the test on your web space and confirm back to you whether or not your web host supports PHP.
Note: In order for this test to run, you will need to have already specified your account publishing settings in the Publishing Tab.
For more information about the PHP checker, you can visit the PHP Checker section of this manual.
Having hopefully established that your web host supports PHP, you may now complete the settings on this first tabbed screen:
My web host supports PHP – This checkbox will automatically be checked for you if your host is found to support PHP (by the PHP Checker tool). If you already know that your host supports PHP you can of course check this box without running the PHP Checker.
Note: If you check this box, and your host does not, in fact, support PHP then the search functionality on your Web site will not work.
Results Page Filename – When a visitor enters their search term, and clicks the search button, the results of their search are displayed on a page. The filename for that page can be anything you like. To customize the filename, simply enter your desired text in the text box provided.
Note: You must include the file extension “.php” at the end of your filename.
Title for the Results Page – When the visitor is viewing the results page, the title of that results page will be displayed in the title bar of the visitor’s browser. You can customize the title of this page using the text-box provided. Enter your title text in place of the default text if preferred (or simply leave the default value if you are happy with it).
Having made the changes above, you may now proceed to the next step in the Site Search Form creation process by clicking the button. This will take you to Step 2.