ID: 11059
Comment by: kiryaka at mail dot ru
Reported By: bub at seznam dot cz
Status: Closed
Bug Type: Variables related
Operating System: RedHat 5.1
PHP Version: 4.0.5
New Comment:

just turn on the register_globals directive in php.ini and restart
apache.


Previous Comments:
------------------------------------------------------------------------

[2003-06-05 11:17:27] php at netcrusher dot org

Hello,

I have the same problem. Im running SuSE Linux 8.1 with Apache 1.3.26
and PHP4. I just installed ist from the source-cds. Everything looks
fine, but PHP doesnt get the Variables from links.

I'll try to download the newer versions of Apache an PHP.

Thanks for help!

------------------------------------------------------------------------

[2001-05-28 07:41:09] bub at seznam dot cz

I've recompiled php and apache and it works.

Thanks anyway

------------------------------------------------------------------------

[2001-05-24 13:22:12] bub at seznam dot cz

It doesn't work either and $PHP_SELF is empty as well. I did not know
that, because I didn't use it my scripts.

------------------------------------------------------------------------

[2001-05-24 13:14:30] bub at seznam dot cz

It doesn't work either and $PHP_SELF is empty as well. I did not know
that, because I didn't use it my scripts.

------------------------------------------------------------------------

[2001-05-24 12:48:57] [email]cardinalphp.net[/email]

The system speed wouldn't impact behavior, no.

Your script refers to $data['n_id'] though, not $data['id']. Let's
remove any confusion and work with a very basic script:

<a href="<? echo $PHP_SELF ?>"?getvariable=working>Click here</a>
Getvariable is: <? echo $HTTP_GET_VARS['getvariable'] ?>

Try that one out.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/11059[/url]

--
Edit this bug report at [url]http://bugs.php.net/?id=11059&edit=1[/url]