Re: htaccess files revisited.
by "EB" <doublebase(at)wanadoo.nl>
|
| Date: |
Mon, 22 Oct 2001 13:38:53 +0200 |
| To: |
<hwg-techniques(at)hwg.org> |
| In-Reply-To: |
oemcomputer |
| |
todo: View
Thread,
Original
|
|
On 21 Oct 2001, at 23:33, Mike Taylor wrote:
>
> ----- Original Message -----
> From: "jim barchuk" <jb(at)jbarchuk.com>
> >
> > But this is starting to sound a little odd. Actually I don't quite
> > understand why you're trying to do this. Once you're under php you're free
> > to do anything you want. You can do your own 'includes' at the php script
> > level, no? No need for any other server process other than that.
>
> It probably sounds odd due to my ignorance. My experience with PHP thus far
> has been limited to a few things, such as the strstr() function, echo,
> simple arrays and some basic browser detection.
>
> My other .html pages have an include executing a CGI script called
> "logger.cgi" that tracks user traffic. It's a great script written in Perl
> by Alan Fraser (http://w3.one.net/~a_fraser/source/source.html) that I've
> been using for years. I have one or two PHP pages on my site, the first of
> which is the homepage, but it's also a page I wanted to add the "logger"
> script to. I'm also using the strstr() function for another purpose, so I
> felt it necessary to have both the ability for the include file to execute.
as far as i understand your problem, you just have to use
<? virtual ("path_to/logger.cgi"); ?>
in your php files to include/execute your cgi script;
no need to fumble with .htaccess.
hth, eric
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.