On 18 Nov 2002 17:55:09 +0200
Gerhardus Scheltema <[EMAIL PROTECTED]> wrote:

> Apache is running and with php and MySQL is working. Just some stuff
> like $php_self is acting up.

More than likely this is due to the fact that RedHat have changed the
default value of short_open_tag to Off in your /etc/php.ini file.
This stops you from doing things like <?=$_SERVER['PHP_SELF'];?>.
You need to change the setting in php.ini to short_open_tag = On

Also if your scripts are pre 4.2.0 you may have a problem with 
register globals, it is now Off by default. Added to that,
variables such as $PHP_SELF are now $_SERVER['PHP_SELF']
more info on this at
http://www.php.net/manual/en/language.variables.predefined.php

Kind regards
Kevin

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Kevin Waterson
Byron Bay, Australia



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to