Forum Moderators: coopster

Message Too Old, No Replies

Wordnet and PHP

         

brotherhood of LAN

2:23 pm on Apr 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Looking at phpinfo() on my local machine, I noticed this under "PHP Variables"

_ENV["WNHOME"] C:\Program Files\WordNet\1.7.1

Anyone have an idea how phpinfo() is displaying where Wordnet is on my PC? Both were downloaded separately and I've not done anything to connect 'em up. A G search is not helping much either.

andreasfriedrich

2:28 pm on Apr 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



PHP [php.net] is just displaying the environment. Wordnet happenes to have set the WNHOME environment variable.

Andreas

dmorison

2:33 pm on Apr 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

Have a look here:

[php.net...]

The PHP predefined variable $_ENV contains all environment variables setup on your machine. This probably includes "PATH" amongst others.

I'm a little rusty on the latest Win's, but I think programs can set environment variables via the registry - this is probably what WordNet did during installation; otherwise it is probably included in your autoexec.bat!

Hope this helps!

brotherhood of LAN

3:46 pm on Apr 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>>>probably what WordNet did during installation; otherwise it is probably included in your autoexec.bat

Checked out my bat file and it didn't mention wordnet, looks like the prog itself is the culprit

Cheers chiefs.