Re: [chris] How to append a search query
Hi, Chris -
Thanks - as ever - for your input. It's much appreciated.
However, last night, I had a bit of a dig around and came up with this...
"http" . ((!empty($_SERVER['HTTPS'])&&$_SERVER['SERVER_PORT']!=443) ? "s" : "") . "://". "www.". $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
This pulls the URL from the page whereas yours gets the search query - which (I think) means the link by which the visitor arrived on the page.
Are there practical reasons why I should use one in preference to the other?
:0)
Perch