My guess is a register_globals problem, but it's hard to tell without seeing your scripts.

dn wrote:

Hi!

I have to support a PHP-Database-solution which someone else
has developed. In addition I'm quite new to php ...

It uses Oracle 8 to display values out of the database.
Everything is running fine with php 4.1.1.
Due to security reasons I wanted to update to php 4.2.3.
I use the same values within both "configure"-runs:

./configure \
    --with-oci8=/oracle/product/8.1.7 \
    --with-apxs=/usr/sbin/apxs \
    --enable-sigchild \
    --with-zlib-dir=shared \
    --with-gd=/usr/ \
    --with-png-dir=/usr/lib \
    --without-mysql

The php-scripts do the following when a user logs in:

       session_register("user","password","db");

I assume that other scripts can use this values when they
query the database. A session-file is created in /tmp/.
As I mentioned above everything runs fine with php 4.1.1.

With php 4.2.3 the login-script is ok! When another script
is called it seems like it is not able to read the "sess...."-file
which exists (!) in /tmp/sess....

Could you please give me a hint what I'm doing wrong!

Thanks in advance!

Daniel


--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to