FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » why does $_SERVER['PHP_SELF'] say /test.php/test.php for test.php?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: why does $_SERVER['PHP_SELF'] say /test.php/test.php for test.php? [message #170032 is a reply to message #170027] Wed, 06 October 2010 12:04 Go to previous message
August Karlstrom is currently offline  August Karlstrom
Messages: 16
Registered: October 2010
Karma:
Junior Member
On 2010-10-06 06:53, yawnmoth wrote:
> I have a PHP script at 127.0.0.1/test.php. It's contents are as
> follows:
>
> <?php
> echo $_SERVER['PHP_SELF'];
> ?>
>
> And it's output isn't test.php, as I'd expect, or /test.php, but
> rather, /test.php/test.php. Why? And how do I fix it?

Seems like a bug. What's your platform?


/August

--
The competent programmer is fully aware of the limited size of his own
skull. He therefore approaches his task with full humility, and avoids
clever tricks like the plague. --Edsger Dijkstra
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP on PIE: framework that combines the best ideas from great PHP projects
Next Topic: search for book "Extending and Embedding PHP" as PDF edition
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 16:24:58 GMT 2024

Total time taken to generate the page: 0.06157 seconds