LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PHP config (https://www.linuxquestions.org/questions/linux-networking-3/php-config-60167/)

HeDZ 05-16-2003 02:53 PM

PHP config
 
Lo ,
I have a webserver running with php and mysql on redhat 9.

But i have thsi problem with php. Normaly you can pas on values as follow:
index.php?page=news

Then, you just say:
echo " $page" in index.php

But this isn't working on my webserver. It does work with $_GET['page'] but i want it to work with the other way.

Anyone know how to fix this? cause i tried about anything and i am about to :cry:

Proud 05-16-2003 05:01 PM

I believe you need to enable Global variables, but that this can have rather huge security risks if someone knows the php script that's in use.


All times are GMT -5. The time now is 05:48 AM.