[PHP-DEV] DOCUMENT_ROOT with Zend API

2002-12-11 Thread Krzysztof Socki
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

[PHP-DEV] Odp: 'include' function

2002-12-10 Thread Krzysztof Socki
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

Odp: [PHP-DEV] 'include' function

2002-12-09 Thread Krzysztof Socki
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

[PHP-DEV] 'include' function

2002-12-06 Thread Krzysztof Socki
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

Odp: [PHP-DEV] 'include' function

2002-12-06 Thread Krzysztof Socki
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