[thelist] I need more than $PHP_SELF

Dunstan Orchard dunstan at 1976design.com
Tue Sep 17 05:10:01 CDT 2002

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 of
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

More information about the thelist mailing list