I'll take a guess, you are calling PHP_SELF and it will check to see what the php script name is that you are running, nothing else. I would think you would have to get the server variables to get the entire url.
I have used PHP_SELF often and don't get 404 errors, matter of fact it's never failed unless I messed up the variables I was passing to it. Make sure the script name and any variables are lined up correctly. So it would be scott.php?var=foo&var1=foo1 etc. -Scott On Thu, 21 Mar 2002, C vd Veen wrote: > Hi, > > I got a Xitami webserver running on Windows 98, work perfect to me, I have PHP4.1.2, >MySql MyODBC, Active Perl ect. > > My question is that when a script calls the $PHP_SELF string I receive the wellknown >404 message from my webserver. > > Why doesn't Windows 98 put the website in the PHP string??? Something like the >JavaScript command location.history() does work fine..... > > How come? > > > Thanks > > > > -------------------------------------------------------------------------------- > C van de Veen > [EMAIL PROTECTED] > > > > > -- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php