Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: Name of page itself? Date: Fri, 02 Mar 2012 18:31:06 +0100 Organization: A noiseless patient Spider Lines: 37 Message-ID: <4F5103DA.6060801@arnowelzel.de> References: <29234465-827c-4372-9dc7-d9322fb4703e@m2g2000vbc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="m2mY3cKRMkwBS8h61HJByA"; logging-data="5451"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vnWsUeah4XKkfP17n+qaiKS7yIhPCw1Y=" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: Cancel-Lock: sha1:VBm7nWJ/X+l8ljKZWeedXZv/GN8= Xref: csiph.com comp.lang.php:5079 The Natural Philosopher, 2012-03-01 13:57: > Tim Streater wrote: >> In article >> , >> Captain Paralytic wrote: >> >>> On Feb 28, 9:58 am, Sonnich Jensen wrote: >> >>> > 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? >> >>> 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. >> >> Or it might generate no pages at all. None of mine do. >> > > Fabulous. Write only memory in the computer as well? > Talking of the wrong tool for the job, I once heard of a man trying to > build a battleship out of papier mache. XAseco is a good example. And Nadeo has quite extensive examples how to use the RPC interface of Trackmania with PHP ;-) -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de