[thelist] I need more than $PHP_SELF

Rich Gray richardgray at onetel.co.uk
Tue Sep 17 05:32:01 CDT 2002

$_SERVER['REQUEST_URI'] should include the query string as well.

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Dunstan Orchard
Sent: 17 September 2002 11:09
To: evolt list
Subject: [thelist] I need more than $PHP_SELF

Hi there,

how can I grab an entire url like this:


and then add another statment onto the end of it?

Basically I need to add 'large=large' to the end of my url regardless of
whatever variables might or might not have been set already.

I was thinking of doing something like:

<a href="<? echo "$PHP_SELF"; ?>?large=large" title="View a larger version
the images">large images</a>

But $PHP_SELF only grabs the bit up to the question mark.

Can anyone offer any advice?

Thanks again - dunstan

Dorset, England
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list