[PHP-DEV] CVS Account Request: abonamous

2002-12-06 Thread Abdul-Kareem Abo-Namous
oracle extension development -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[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] sapi/servlet configuration error

2002-12-06 Thread Akos Maroy
Sebastian Bergmann wrote: Ray Hunter wrote: Does anyone have an idea about what i need to do to fix this? I just tested sapi/servlet with Tomcat 4.1.12 on Windows and the segfaults I experienced prior to the Tony's patch are still there: An unexpected exception has been detected in

Re: [PHP-DEV] RFC: ODBC and PHP

2002-12-06 Thread Nick Gorham
Dan Kalowsky wrote: On Tue, 10 Sep 2002, Shane Caraveo wrote: Hmm, is there no way to make the functions work with both odbc versions? Have an odbc_set_version(int) function that can set the version of odbc to use. The default can be version 3. This way, with the addition of a single

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

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

[PHP-DEV] CVS Account Request: sjr

2002-12-06 Thread Stijn de Reede
I'd like a cvs account because I'm helping Alan Knowles out in developing the DB_DataObject package. I've contributed the joinAdd() function, and helped out finding some bugs. He suggested I should get a PHP cvs account, so here I am :). I am currently only using (and developing) DB_DataObject

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 anyone tell me

Re: [PHP-DEV] sapi/servlet configuration error

2002-12-06 Thread Ray Hunter
I can even get it to compile on linux at all. I keep getting errors with java.c On Thu, 2002-12-05 at 23:36, Sebastian Bergmann wrote: Ray Hunter wrote: Does anyone have an idea about what i need to do to fix this? I just tested sapi/servlet with Tomcat 4.1.12 on Windows and the

[PHP-DEV] SQL Error

2002-12-06 Thread Daniel
Please help. I have a basic scipt: $connection_id=odbc_connect($DSN,$user,$pass); $sql=select * from whatever; $stmt=odbc_prepare($connection_id,$sql); $result=odbc_execute($connection_id,$stmt); this script used to work on RH-7.3 with php-4.1.2 the script will not work anymore when i installed

Re: [PHP-DEV] persistent java virtual machine under PHP

2002-12-06 Thread Tony J. White
This is contrary to my experiences. But we have discussed this earlier today. After reviewing the thread, I think the problem you are experiencing is related to the fact that each instance of PHP is running a seperate JVM. It's not that the JVM is being destroyed. Therefore when you have

[PHP-DEV] Cookie Session Problem

2002-12-06 Thread Michael Conroy
I'm using cookies for a php session. The problem i'm having is that the session id is showing up in the url when a user moves to the next page in the site, but then after that it stop showing up in the url (the way it should be). I don't want the session id (periodically) showing up in the url

[PHP-DEV] Re: Cookie Session Problem

2002-12-06 Thread Ivan Ristic
The problem i'm having is that the session id is showing up in the url when a user moves to the next page in the site, but then after that it stop showing up in the url (the way it should be). I don't want the session id (periodically) showing up in the url this causes me problems on certain

Re: [PHP-DEV] Cookie Session Problem

2002-12-06 Thread Chris Shiflett
--- Michael Conroy [EMAIL PROTECTED] wrote: I'm using cookies for a php session. The problem i'm having is that the session id is showing up in the url when a user moves to the next page in the site, but then after that it stop showing up in the url (the way it should be). I don't want the

[PHP-DEV] thanks

2002-12-06 Thread Michael Conroy
thanks for the help -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] persistent java virtual machine under PHP

2002-12-06 Thread Akos Maroy
Tony J. White wrote: After reviewing the thread, I think the problem you are experiencing is related to the fact that each instance of PHP is running a seperate JVM. It's not that the JVM is being destroyed. Therefore when you have apache running with say 5 httpd children, you will be running 5

Re: [PHP-DEV] Java Extension Build Method

2002-12-06 Thread Tony J. White
Under the heading Build java module with -ljava you mention that there were crashing problems because libjava.so was linked agains pthread and apache wasn't. This is not uncommon problem for other libraries such as oci8. You can link apache with pthread which will prevent the segfaults. See

Re: [PHP-DEV] Reduce codebase

2002-12-06 Thread Stig S. Bakken
--enable-maintainer-mode? - Stig On Thu, 2002-12-05 at 17:16, Marcus Börger wrote: In a discussion about image.c code i was reminded that we do not need to bother with emalloc returning NULL or array_init returning FAILURE. Unforuately there are hundreds of such cases in PHP. When removing

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-06 Thread Stig S. Bakken
It won't be different in ZE2. This is not a bug though, but a tricky design issue. The problem is figuring out at runtime when to set $this or not in a method. What most people would probably find intuitive, is that $this was set only in methods called in the object, but this would require

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-06 Thread Stig S. Bakken
On Wed, 2002-12-04 at 01:32, Balazs Nagy wrote: On Tue, 2002-12-03 at 21:53, Ivan Ristic wrote: Balazs Nagy wrote: Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function. Correct. I actually find it quite interesting. :)

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-06 Thread George Schlossnagle
Why do the (cheap) checks implemented in debug_backtrace not work for this? George On Friday, December 6, 2002, at 04:11 PM, Stig S. Bakken wrote: It won't be different in ZE2. This is not a bug though, but a tricky design issue. The problem is figuring out at runtime when to set $this or

RE: [PHP-DEV] Re: Cookie Session Problem

2002-12-06 Thread John Coggeshall
You can turn it off by setting session.use_trans_sid parameter to off (btw, it is off by default). You really should use the session.use_only_cookies directive. John Bye, Ivan -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] register_shutdown_function = register_offline_function

2002-12-06 Thread Zeev Suraski
Brian, BC is an issue, always, but as the person who wrote both the original version and the fix, I can tell you that the original behavior was not intended to begin with, and because it couldn't be duplicated on any other server than Apache, it was changed to both reflect the intended

Re: [PHP-DEV] Reduce codebase

2002-12-06 Thread Marcus Börger
At 21:54 06.12.2002, Stig S. Bakken wrote: --enable-maintainer-mode? - Stig maintainer mode is already coupled to Zend's DEBUG_CFLAGS. But it is a well known feature of the autoconf tools so the question is mainly if we require all developers to run maintainer mode before using that switch