[PHP-DEV] feature request for __LINE__, __FILE__ and trigger_error

2002-04-24 Thread Michael Virnstein
It would be really useful for writing functions/Classes, if i were able to determine the __FILE__ and __LINE__ of the script, that is calling my function, without the need to send __FILE__ and __LINE__ as parameter to my function. E.g. __CFILE__ for calling script and __CLINE__ for line in the

Re: [PHP-DEV] feature request for __LINE__, __FILE__ and trigger_error

2002-04-24 Thread Michael Virnstein
ings yet, but I can add a function for that too. I'll keep you posted, Derick On Wed, 24 Apr 2002, Michael Virnstein wrote: It would be really useful for writing functions/Classes, if i were able to determine the __FILE__ and __LINE__ of the script, that is calling my function, without

Re: [PHP-DEV] feature request for __LINE__, __FILE__ and trigger_error

2002-04-24 Thread Michael Virnstein
ut I can add a function for that too. I'll keep you posted, Derick On Wed, 24 Apr 2002, Michael Virnstein wrote: It would be really useful for writing functions/Classes, if i were able to determine the __FILE__ and __LINE__ of the script, that is calling my function, without the need

Re: [PHP-DEV] feature request for __LINE__, __FILE__ andtrigger_error

2002-04-25 Thread Michael Virnstein
t (which function called us), so it makes no sense as a constant. Derick's xdebug extension will provide functions for this instead. - Stig On Wed, 2002-04-24 at 21:40, Michael Virnstein wrote: an additional thought: if __CFILE__ and __CLINE__ are used outside of a function/method, both should

Re: [PHP-DEV] feature request for __LINE__, __FILE__ andtrigger_error

2002-04-25 Thread Michael Virnstein
unctions for this instead. - Stig On Wed, 2002-04-24 at 21:40, Michael Virnstein wrote: an additional thought: if __CFILE__ and __CLINE__ are used outside of a function/method, both should be NULL. and trigger_error should only overwrite its __FILE__ and __LINE__ settings, if they are

[PHP-DEV] sockets

2002-04-25 Thread Michael Virnstein
Hi, as i could read in the manual, the socket functions are completely experimental. When do you think the API gets final and won't change anymore. Any comments on this are welcome. Michael -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Another addition to session-module ... while were on topic

2002-05-03 Thread Michael Virnstein
a better solution, in my opinoin, is some sort of grouping mechanism. this way i can set up n different session groups. every session in a group shares a set of variables so the have their own scope. i can register a session in m groups, so my session gets access to all variables of the groups,

Re: [PHP-DEV] Another addition to session-module ... while were on topic

2002-05-03 Thread Michael Virnstein
btw, i'm writing a session module like this in php atm, but it would be much better, if it were programmed directly into the core. I'm i total C-Newbie, so i'm not able to do it myself. If anyone is interested in doing it, i'd highly appreciate it. Regards, Michael Michael Virnstein [EMAIL

[PHP-DEV] Feature Request: Session Module

2002-05-04 Thread Michael Virnstein
Hi! What really would be useful for the session module, is a grouping mechanism for sessions, so i can set up variable scopes and share variables among different session: every session has private variables. that's the way it works now. i can register a variable to a session and there's no way

[PHP-DEV] Re: Feature Request: Session Module

2002-05-04 Thread Michael Virnstein
In this way i could have the normal private session variables, like it is now and additionally have different sets of variables and share them among different sessions. Regards Michael Michael Virnstein [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP-DEV] undocumented feature with php.ini?

2002-05-17 Thread Michael Virnstein
Hi... i recently found a msg in php.genereal about the ability to load my own php.ini file, although i'm hosted by a hosting company. I tried it out and yes, it worked. all i had to do was placing a file called php.ini in the document_root of my domain. if i create a file with phpinfo() in it, i

[PHP-DEV] Re: undocumented feature with php.ini?

2002-05-17 Thread Michael Virnstein
forgot the php version i tested it with: 4.0.6 and 4.1.2 Regards Michael Michael Virnstein [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi... i recently found a msg in php.genereal about the ability to load my own php.ini file, although i'

Re: [PHP-DEV] CVS Account Request: deucalion

2002-05-17 Thread Michael Virnstein
there's an anonymous cvs account so you can get your local copy of php. you also can access php cvs via web: http://cvs.php.net you only need an cvs account if you want to do editing, not for studying the php core code. for studying i'd suggest using the web site cvs.php.net or the anonymous cvs

[PHP-DEV] Oracle dbms_output

2002-05-28 Thread Michael Virnstein
Hi, i try to figure out, if there's a way to use dbms_output with php. here's my procedure: Procedur Test Is Begin dbms_output.put_line('Test'); End; Procedur Test2 Is Begin Raise NO_DATA_FOUND; Exception When NO_DATA_FOUND Then dbms_output.put_line('Test'); End; how do i