I have a small problem. When debugging PHP pages on my local pc with Apache on Windows 98, I get a strange behaviour when I use $PHP_SELF and other functions or variables, which should return a path to the current directory.
In stead of the proper path, I always get a reference to the location of the PHP3.EXE module (in my case http://x.x.x.x/php3/php.exe/ in stead of http://x.x.x.x/htdocs/somepath/). This renders the path or filename useless and breaks links to pages and pictures.
It will work fine once it's uploaded and run on a Unix server.
Anybody know a way of avaoiding this on Windows - an Apache hack or global setting?
Martin