Re: Search webbot in an Apache server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sam Hobbs (samuel_at_social.rr.com_change_social_to_socal)
Date: 08/01/04


Date: Sun, 1 Aug 2004 14:56:53 -0700

Thank you.

See: http://simplesamples.info/Tests/ClientData.php

If has php code in it, such as:

<p>Your IP is: <? echo GetIP(); ?></p>

I am not sure what you mean by "parse those tags"; FrontPage certainly does
not show the php in the "Normal" view but it does show the rest of the HTML
with no problem. It simply ignores everything between "<?" and "?>". Perhaps
this is an improvement that was slipped in when you weren't looking.

As far as putting the search component in a page with a html extension, see:

http://simplesamples.info/Search.html

It behaves the same as when I have it in my main page; there are no results
from a search. Perhaps there is an easy solution, but unless I another
suggestion, I will assume it won't work.

The next step is for me to try to get the "Entropy" search to work, but that
is outside the scope of this newsgroup.

"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:OfKtoW3dEHA.1356@TK2MSFTNGP09.phx.gbl...
> Sam.
>
> To clear up the edit of .php files, if the file only contains standard
HTML tags, then FP has no
> problem editing the file, however if the .php contain script tags using <?
?> then FP will have
> problem parse those tags unless the tags are change to <% %>.
>
> As far as the Search component, as you see the KB indicated that the
search component will work on a
> .asp if on a Windows IIS server with Index Server installed and running
and managing the search for
> the specific web site. It however will not work on a non .htm(l) page when
the WAIS search engine is
> being used. The WAIS search engine is use by the FP extensions on all
Unix/Linux servers and Windows
> IIS server where Index Server is not installed or running, but this
depends on the Web Host.
>
> As far as helping you with your search problem, rename your search page
.htm or .html or create a
> new page with .htm or .htm(l) and see if the search component works
directly on the server via FP.
> If this works, then you have a solution.



Relevant Pages

  • Re: HELP - Cant change Include Path
    ... Here is my php.ini path for the php.ini in both php and sql dirs: ... which did work on the remote linux server and sent me some mail ... Although my gmail acct picked the mail up as ... an attachment instead of as html - but gmail is really wierd about ...
    (comp.lang.php)
  • Re: Search webbot in an Apache server
    ... To clear up the edit of .php files, if the file only contains standard HTML tags, then FP has no ... .asp if on a Windows IIS server with Index Server installed and running and managing the search for ... > Note that my problem is not an error message, so I don't know what you mean ...
    (microsoft.public.frontpage.client)
  • Re: PHP-Yes, HTML-No --- Why?
    ... You are arguing to have .html at the end of every URL even if the file contains PHP or another scripting language. ... We are talking about web servers, not FTP servers. ... I never said the server should parse MP3 files or whatever, ...
    (comp.lang.php)
  • Re: PHP-Yes, HTML-No --- Why?
    ... The .html signifies that the file contains HTML - and pretty ... A php script contains both HTML and PHP code so technically speaking it's not just HTML. ... The user is getting a file from your web server, an HTML file, and it has an extension of something other than HTML. ... I hope you weren't configuring them as per your personal likes and dislikes but instead were configuring them as per the customer requirements and for speed, ...
    (comp.lang.php)
  • Re: PHP-Yes, HTML-No --- Why?
    ... they don't have any PHP in them. ... which does indeed do away with extensions altogether. ... I hit two identical servers, one set to parse html via php, and one ... html-parsing server being quicker, ...
    (comp.lang.php)