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

RE: [PHP-DEV] 'include' function

2002-12-06 Thread Esteban F.
function ala() { include file.php; } Krzysztof Socki <[EMAIL PROTECTED]> escribió en el mensaje de noticias [EMAIL PROTECTED] > > U¿ytkownik Hartmut Holzgraefe <[EMAIL PROTECTED]> w wiadomooci do grup > dyskusyjnych napisa³:[EMAIL PROTECTED] > > Krzysztof Socki wrote: > > > Hello! > > > Can an

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, is it >

Re: [PHP-DEV] 'include' function

2002-12-06 Thread Hartmut Holzgraefe
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, 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

[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

Re: [PHP-DEV] include function in php source

2002-09-08 Thread Alan Knowles
eminent wrote: > Hi everyone, > i have to manipulate include function inside php source code to > satisfy my needs. it has to be configured, i think, with something > like PHP_FE(include .) > my problem is that i can't find where it is inside the php source > tree. i mean that i don't know

[PHP-DEV] include function in php source

2002-09-08 Thread eminent
Hi everyone, i have to manipulate include function inside php source code to satisfy my needs. it has to be configured, i think, with something like PHP_FE(include .) my problem is that i can't find where it is inside the php source tree. i mean that i don't know in which file it is. can an