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

Home » Imported messages » comp.lang.php » Name of page itself?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Name of page itself? [message #177229 is a reply to message #177213] Thu, 01 March 2012 11:16 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Feb 28, 9:58 am, Sonnich Jensen <sonnichjen...@gmail.com> wrote:
> Hi
>
> I have not worked with PHP for 2+ years, now again and need to refill
> my brain...
>
> How can I get the name of the main page?
>
> Say, index.php includes menu.php, how do I get the name of the main
> page, in this case index.php?
> Next say page1.php, page2.php etc?
>
> Sonnich

A php file is NOT the same as a web page. A single php file may have
the ability to generate more than one page. Alternatively many php
files may be used to generate 1 page.

Can you explain why you need to get this information? Then we might be
able to help you get the information that you need.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MAX(id)
Next Topic: string to array
Goto Forum:
  

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

Current Time: Thu Nov 28 17:53:24 GMT 2024

Total time taken to generate the page: 0.04162 seconds