Good Day,
I am using SmartSearch.cgi. They store there template files in /cgi-bin/templates with file names like [login to view URL]
I want to sprinkle in some php calls, but can't seem to get php files to run from:
1. a file in cgi-bin (with or without .php extention)
and
2. a snippet of code embeded in any .tpl files
Example snippets:
<?php include("<[login to view URL]>"); ?>
THis would display our BUY IT NOW ads on a .tpl (template)
<! --- 120 x 240 // -- >
<?php
if (include('/home/hsphere/local/home/trbedell/[login to view URL]')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:5', 0, '_blank', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
Displays a 120 x 240 banner ad. It is a php call from our banners application.
I can send a link to phpinfo() if you want to look at the setup.
Thanks in advance,
Thomas
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Freebsd, PHP 4.3.?, Apache