LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   suse 8.1 and apache/php (https://www.linuxquestions.org/questions/linux-distributions-5/suse-8-1-and-apache-php-38964/)

davo111 12-20-2002 11:08 AM

suse 8.1 and apache/php
 
Hi All

I've just upgraded to SuSE8.1 and it's completey trashed a site I've been working on.

I've got an .htaccess file in the directory I'm hitting and then several php forms accessing a mysql database.

Everything worked fine under 8.0 but now each page asks for username/password and my after the first display zip.

I think it's a problem passing variables to the forms but I can't find anywhere to check what's not been switched on / off.

The standard phpinfo() works fine, but something like

<?php
$name = explode(" ", $REMOTE_USER);
echo "$REMOTE_USER,$name[0],$name[1]<BR>";
?>

produces a blank page


Any help gratefully accepted.

steve

then 12-22-2002 01:47 PM

Hi

* Did the OS upgrade include an upgrade of PHP too?
* Which version og PHP are you running now?
* If PHP version > 4.1.0, REGISTER_GLOBALS = Off by default in your php.ini. Then your script may need to be modified or you must set REGISTER_GLOBALS = On

Please read the PHP manual for the appropriate documentation.

HTH
theN


All times are GMT -5. The time now is 10:45 AM.