RE: htdig: Htdig and PHP


Colin Viebrock (cmv@privateworld.com)
Thu, 02 Jul 1998 09:51:23 -0400


Also sprach Ashley Hindmarsh (at 10:55 AM 7/2/98 +-100) ...
>I've had no trouble using PHP/FI with htdig. It should be the same for any
>CGI processor.
>
>However (sorry to pose a further question) what is the cleanest method of
>detection htdig as the user agent? Does htdig set HTTP_USER_AGENT (which
>seems to be the de facto standard)?

Yes. Infact, the PHP sites serve up slightly different content depending
on your browser. This way, when htdig comes in to dig the site, we serve
up a plain-vanilla version of the pages ... which makes our document
excerpts that much cleaner!

.........................................................................
Colin Viebrock Creative Director - Private World Communciations
cmv@privateworld.com http://www.privateworld.com
ICQ: 11386088

                                                  This sentence no verb.
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:26:50 PST