GIGJ.COM
welcome to my space
X
Search:  
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
Welcome to:gigj.com
NAVIGATION - HOME
Some confusion....php and cgi
Published by: anonym 2009-01-07

  • 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.html
    HOME
    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.html
    HOME
    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-php
    HOME

    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.html
    HOME
    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=8
    HOME
    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

    PRINT Add to favorites
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Some confusion....php and cgi , Please add it free.
  • is my ferret sick or just not playful
  • how can i read myspace messages im my yahoo
  • is my ferret ill please help
  • was i the only one to wear the cassette out
  • what song is gud for my myspace page
  • if you were to choose between
  • should i send a picture through text
  • i need a make over
  • girls and guys do you like hair in a ponytail or down
  • if i 039 ve no time for foreplay would a rousing sousa melody performed by the high school marching band suffice
  • why is fluorescent lighting be stressful
  • is anyone going to see friday the 13th remake on opening night
  • how to make your hair spiral curly like miley cyrus 039 s in less than 30 minutes
  • which is better for a house pet hamster or rabbit
  • need something to write on photo album
  • come see that pet smart does cruelty
  • poll which do you prefer list
  • what colors of makeup would flatter me best
  • is this too many partners to have
  • i wonder
  • how can i get my new horse to stop buckin
  • my apartment is being exterminated tomorrow
  • to much pets so little me please help pet problems
  • how can a guy look like a girl in the face
  • is a 32 year old too old for a 19 year old girl or is age really that important
  • online pet stores that accept paypal
  • is it safe to post pics on here

  • About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 gigj.com All Rights Reserved
    Site made&Support support@gigj.com    E-mail: web@gigj.com