Ugh - I was afraid this'd generate more questions than it answers. I don't actually know what the link looked like, and the client seems to think it's fixed, but at the moment his p.o.s. computer is frozen so he's of no help. He said something about it saying "'sisi' (or perhaps 'si'), like Spanish", which makes no sense at all to me, given the code.
The source of the variables is immaterial in this case - actually it's UserID, not Category & ID - results of a db query looking for users who have shopping carts. Typical link is:
view_cart.php?UserID=44 (where view_cart.php is created using $_SERVER['PHP_SELF'] )
The query is a join based on UserID - nobody gets past the velvet rope without a UserID. My own retrieval of the exact page he was viewing gave me the correct links, in both IE 5 and IE6, (and Mozilla, etc. of course).
Let me rephrase the question without the unhelpful example:
SINCE I'm using it to be lazy (i.e. avoid hard-coding the page URL when building multiple similar pages), is there anything in particular to watch out for when using $_SERVER['PHP_SELF']?
Sorry for posting mucky questions...