Installation on Windows 95/98/NT systems:: This prevents confusion between PHP extensions and their supporting libraries. srm.conf or httpd.conf to configure Apache to work with the PHP CGI binary. http://w3.gazi.edu.tr/~ertan/php/doc/install-windows95-nt.htmlHOME | I have read this page:
http://www.wrensoft.com/zoom/support/faq_ssi.html#ssi_cgi
But I am a bit confused....
I have been using the PHP version of the script but now am reaching the limitation of the php script.. so i though that I would use teh CGI version...
But a problem I have...
the CGI works fine.. but of course my customized page is not being used (index.php - heavely modded search.php page) I can deal with the css to change the page look and feel.. but I have added database driven drop downs to assist with picking for key words. my page looks great.
But in reading your SSI help page.. it says to use a virtual include for hte CGI into the php page. well.. what do i dont and do need in the search.php (index.php) page? and how do i feed the search string.. I mean i see the example in yor page.. but it doesnt make sence to me. PHP, ASP, PERL/CGI, XML, FLASH Scripts (6975):: Worlds Largest Directory of ASP, PHP, Perl/CGI, XML, Flash, Python, CFML, Java, Javascripts and ASP.NET scripts. Its a php script which would help you to http://www.bigresource.com/sitemap6975.htmlHOME | The PHP Anthology Volume 1, Chapter 2 - Object Oriented PHP:: and will certainly do a lot to reduce the confusion CGI & Perl Tutorials. ColdFusion Tutorials. Java and J2EE. PHP & MySQL News & Interviews http://www.sitepoint.com/print/object-oriented-phpHOME |
I can include my index.php if i must...
It would be MUCH easier if I could change the template from HTML to PHP
ok.. i will check this out as soon as i get to work (in about 1.5 hours)
LOL ... i am staying a way for asp since all my dev is php based. trying to get away form M$...
Will be moving my CMS to solaris soon... :)
Thanks for the post and will let you know how it goes!
It's not all that common to use PHP on an IIS server, but it is, of course, possible. But because it is far more common for IIS servers to only support ASP, we have thus far only provided an ASP solution for IIS users.
We've now updated the FAQ page with a different solution for PHP on IIS. Take a look at the updated solution: Send Mail with PHP, ASP, or Perl:: names can cause some confusion, so dont forget instance set serverLang = php And for Perl, set serverlang = cgi This is for this tutorial. http://www.actionscript.org/resources/articles/559/1/Send-Mail-wiHP-ASP-or-Perl/Page1.htmlHOME |
http://wrensoft.com/zoom/support/faq_ssi.html#ssi_cgi
The other possibility is to consider creating an ASP page for your CGI, since almost all IIS installations have ASP enabled. This is also explained in the above FAQ.
um.. according to your link ...
http://php.planetmirror.com/manual/en/function.virtual.php
that is an apache specific function...
I am running IIS>.. suggesiton?
Thanks for the reply....
it says I have an undefied function call .. virtual() ???
Exactly which bit don't you understand. This is the example we gave to call the CGI from a custom PHP script.
//Your PHP code here
$QSTRING = $_SERVER['QUERY_STRING']; PHP News | HostExpress Blogs:: Forget about this enterprise-community edition confusion stuff. Running PHP via CGI and FastCGI means that IIS has to do the Windows equivalent http://www.hostexpress.com.au/drupal/?q=php&page=8HOME |
while (list ($header, $value) = each ($HTTP_GET_VARS))
{
$QSTRING = $QSTRING.'&'.$header.'='.$value;
}
virtual("/cgi-bin/search.cgi".'?'.$QSTRING);
//More of your PHP code here
There is really only 1 interesting command, "virtual" and one variable, "QSTRING". So it would seem fairly straight forward.
There are a few other things to be aware of, but they are detailed in the FAQ points.
http://www.wrensoft.com/zoom/support/faq_ssi.html#ssi_cgi
-----
David
The PHP documentation for Virtual is here,
http://php.planetmirror.com/manual/en/function.virtual.php
Are you using Apache as your web server?
Note that if you are using, the Netscape, iPlanet, or SunONE webservers, then you need to replace "virtual()" with "nsapi_virtual()".
-----
David
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|