Chris Mason wrote:
>
> Thanks for the information. I still can't get it to work. Any chance you can send me
>an example to look at?
> Thanks again
>
> Chris Mason
> Box 340, The Valley, Anguilla, British West Indies
> Tel: 264 497 5670 Fax: 264 497 8463
> USA Fax (561) 382-7771
> Take a virtual tour of the island
> http://net.ai/ The Anguilla Guide
> Find out more about NetConcepts
> www.netconcepts.ai
> bwz*mq
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Leon Atkinson
> Sent: Thursday, January 13, 2000 1:44 PM
> To: FreeTrade
> Subject: RE: [FreeTrade] NT installation
>
> > Can anyone give me some advice on installing on an NT server with IIS4?
> > I'd really appreciate it.
>
> Put the contents of the htdocs directory inside wwwroot. Put the modules
> directory inside inetpub. Tweak index.php3 so that it can find the modules
> directory. There are instructions inside this file. Other than that, it's
> pretty much the same.
>
> Leon
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Site: http://www.working-dogs.com/freetrade/
> Problems?: [EMAIL PROTECTED]
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Site: http://www.working-dogs.com/freetrade/
> Problems?: [EMAIL PROTECTED]
In wwwroot/index.php3
/*
** get name of this script
** Note, different servers require different environment variables
** Apache: $SCRIPT_FILENAME
** IIS: $PATH_TRANSLATED
** Xitami: $PATH_TRANSLATED . $PHP_SELF
*/
$ScriptPath = $PATH_TRANSLATED;
eregi("([^/\\]*)$", $ScriptPath, $match); #"
$ScriptName = $match[0];
/*
** get root of Web site
*/
$Application_Root = eregi_replace("[/\\]wwwroot[/\\]$ScriptName",
"", $ScriptPath);
Also, just to check the obvious--you did remember to set up IIS with
PHP, and you are able to get a simple php script such as <? print("Hello
world!"); ?> to work, right? You remembered to set up IIS so that it
knows what to do with .php3, .php, or .htma files, right?
-jj
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]