use get_included_files() and/or get_required_files() functions.
lenar.
"DAve Goodrich" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > -Original Message-
> > From: Tim McGuire [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 19, 2001 2:30 PM
> > To
> -Original Message-
> From: Tim McGuire [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] List of included file names.
>
>
> Hi,
>
> I searched the archives for this.
>
> For debugging purposes, I want to see a list of the inclu
Hello,
since PHP 4.0RC1 there is a function what you really need callled:
array get_included_files (void)
which returns with the name of the included files.
For more detail, read the manual : LVII. PHP options & informations
Papp Gyozo
- [EMAIL PROTECTED]
- Original Message -
yeah. at the beginning of each include file, put:
print '';
...or were you looking for something a little
harder and more convoluted? :)
> -Original Message-
> From: Tim McGuire [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP]
On Tuesday 19 June 2001 20:30, Tim McGuire wrote:
> I searched the archives for this.
>
> For debugging purposes, I want to see a list of the included files on a
> page in HTML comments.
Little note not only to you: Getting no answer after ~3 hours does *not*
mean you have to resubmit the quest
On Tuesday 19 June 2001 17:42, Tim McGuire wrote:
> For debugging purposes, I want to see a list of the included files on a
> page in HTML comments.
http://php.net/get_included_files
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Very funny, Scotty! Now beam up my clothes...
Try using $PHP_SELF to get the name of the PHP script.
- Original Message -
From: "Tim McGuire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 11:30 AM
Subject: [PHP] List of included file names.
Hi,
I searched the archives for this.
For debugging pur
7 matches
Mail list logo