Hello!
I'm writing a new function to PHP using the Zend API. I need to know the
DOCUMENT_ROOT value of the running script. I've read through the lxr.php.net
and I still have no idea how to do that. Is it possible with the Zend API,
at all? Does anybody know the way?
Krzysiek Socki
[EMAIL
Finally I've managed to modify the parser. It was a good lesson.
KS.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
function ala() {
include file.php;
}
I want neither to explicitly include any file nor to define any function in
my script. My point is to give access to the source to the user but to hide
the script's real functionality. Do you have any experience with modifying
PHP parser, specifically
Hello!
Can anyone tell me if it's possible to extent PHP with a function that
includes other PHP file? I know that 'include' is not a function, is it
possible to work it around? I need a function that includes a file
respective to the location of the running script. Maybe I could extend the
parser
U¿ytkownik Hartmut Holzgraefe [EMAIL PROTECTED] w wiadomooci do grup
dyskusyjnych napisa³:[EMAIL PROTECTED]
Krzysztof Socki wrote:
Hello!
Can anyone tell me if it's possible to extent PHP with a function that
includes other PHP file? I know that 'include' is not a function