Xtreeme - web development software
Site Search:      

 German version  
Home Products Download Buy Now Affiliates Forum
 Search Engine Software
 Search Engine Studio home page
 Requirements
 Download
 Features
 Screenshots
 Compare web search engine solutions
 Sample web site search engines
Check out some sample search engines generated by Search Engine Studio
 Buy Now / Pricing
Place your order online
 SES Service
Schedule automatic search engine updates without having to be logged on using an NT/XP service
 Technical Support
  Frequently asked questions
  Discussion Forum
 How does it work?
 Creating a web site search engine
 Creating an intranet search engine
 Creating an offline search engine (CD-ROM/DVD)
Our Customers
Web sites using Xtreeme search engine script
Question ID: Q2035
Question: How can I use server-side (PHP, ASP) code on the results pages?
Product: Search Engine Studio


You can do this by using the option: Output / Target Type / Scripting language wrapper. You should set it to the desired server-side scripting language (e.g. PHP wrapper, JSP or ASP.NET). This allows you to e.g. embed ads on the results page based on the keywords being searched. If this option is used, the search will be referenced as a script (e.g. ASP, PHP), and then this wrapper script will internally run the actual search script (CGI).

The other options should be set as usual, that is: output / http paths... / cgi-search scripts directory should be set to e.g. http://server/cgi-bin , and output / physical location... / output directory for cgi-search scripts must point to the physical location of the cgi-bin directory from the option above, e.g.: c:\inetpub\wwwroot\cgi-bin

 Save This Page       Copyright 1998-2007 Xtreeme GmbH