PHP_SELF incorrect on WIMP shared host

From: Kevin Haryett (Kevin.Haryett_at_gmail.com)
Date: 01/31/05


Date: 30 Jan 2005 16:53:42 -0800

My host is running WIMP and has set up shared configuration.

Lets say the address is

http://kevin.host.com

Now, the actual directory is c:\inetpub\wwwroot\kevin

If I check PHP_SELF from a test file, it reports it as /kevin/test.php
instead of /test.php leading me to believe that there is something
amuck with his setup.

4.3.4 is the version of PHP he is running. Needless to say, this plays
havock with any script that uses the PHP_SELF and I have worked around
it by hard coding paths that I shouldn't need to.

The host and I are both scratching our heads at this. This is their
first trip in the PHP world, and I have never seen this (worked fine on
apache) so I am at a loss.

Can someone point me to an answer?

-Kevin



Relevant Pages

  • Re: PHP_SELF incorrect on WIMP shared host
    ... Kevin Haryett wrote: ... > My host is running WIMP and has set up shared configuration. ...
    (comp.lang.php)
  • Re: How do I insert a cgi script into Publisher page?
    ... As you were working out your PHP form, did you happen to run across this ... My host is www.swissnetsolutions.ch and yes, ... I was told that they do not have a cgi form ... Though Publisher uses 'ISP' I think that may be confusing to some ...
    (microsoft.public.publisher.webdesign)
  • Re: working with mysql
    ... throw new Exception('Error connecting to host. ... I would like to be able to get php to pull the data. ... Did you take out your throw statement and put in the echo like I asked? ...
    (comp.lang.php)
  • Re: Publisher 2000, php and more
    ... > Don't know about creating web pages with 2000, but I do know my web host ... I have resisted changing to FrontPage or more suitable ... >> My current website host does not allow FrontPage extensions, ... >> but also think I would like to start incorporating PHP, ...
    (microsoft.public.publisher.webdesign)
  • Re: Transfering Website, PHP Configuration
    ... My client wants to transfer their site from a Linux server to ... files,and what configurations need to be made in order to do the ... Your new host probably has a control panel (if they ... Sure this has to do with PHP. ...
    (comp.lang.php)