Re: Name of page itself? [message #177244 is a reply to message #177238] |
Thu, 01 March 2012 14:06 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
Paul Herber wrote:
> On Thu, 01 Mar 2012 12:57:30 +0000, The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>> Tim Streater wrote:
>>> In article
>>> <f244fbdd-78f1-48b4-a578-635b97e4dbde(at)gr6g2000vbb(dot)googlegroups(dot)com>,
>>> Captain Paralytic <paul_lautman(at)yahoo(dot)com> wrote:
>>>
>>>> On Feb 28, 9:58 am, Sonnich Jensen <sonnichjen...@gmail.com> 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?
>
> Nothing unusual about a PHP script that generates no output. How about a script that
> receives an IPN email, updates a database and sends out an email. No web browser involved
> at all.
> Cron can start PHP scripts ...
>
>
>
and you CAN build battleships out of papier mache.
which was the point..
--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
|
|
|