sdjl
Moderator
Joined: 17 Nov 2003
Posts: 936
Location: London, UK
|
Posted: Wed Oct 27, 2004 10:54 am Post subject: Fix query string display
|
|
|
It's been noted for somewhile that when using the logger in PHP or PHPJS version that the query string (index.php?this=that) wouldn't display in the logger.
I'm pleased to announce that i've managed to fix this with a change to one line of code.
To apply the fix, please do the following.
1) Open /include/get_userdata.php
2) Find line 81
PHP: |
$url = addHTTP($HTTP_HOST.$PHP_SELF); |
3) Change the above code with
PHP: |
$url = addHTTP($HTTP_HOST.$REQUEST_URI); |
4) Save file and re-upload.
The $PHP_SELF variable doesn't append any query string to the filename it finds that has been called. By changing this to $REQUEST_URI you will get both the filename and query string.
I hope this helps some of you.
David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
|
|