Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Puzzled

date posted 22nd January 2005 11:29

Ah - So $_GET['googs'] could be something that has been added by whatever is
rewriting the URL's. The site content definitely changes if it thinks it is
being searched - I managed to work that bit out - phew. It is written in
such a complicated way that it is going my head in. I am not surprised if it
is frowned on by Google. I am supposed to be basing another site on it so
perhaps I should leave out the Google bits. The bit that really confuses me
in the bit of code is why is there "die()" - I would have expect it to
carry.

Pam



----- Original Message -----
From: "Joe Freeman" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Saturday, January 22, 2005 12:26 PM
Subject: Re: FN-FORUM: Puzzled


>
> I guess 'googs' is something to do with Google. Basically, it's
> saying: if 'googs' is in the query string, then set the session
> variable (presumably for use later on), otherwise, if 'nogoogs' is in
> the query string, then unset the session and redirect to hide the
> query string. The $_GET['googs'] and $_GET['nogoogs'] aren't set in
> the code because they are variables that are taken from the query
> string of the URL. Have a look around in the code for the session
> variable for more clues. It may be that the site is changing it's
> content if it thinks it's being searched by a GoogleBot - I'm not sure
> what the consequences of this are, but it's frowned upon my Google (I
> think).
>
> Hope this helps,
> Joe.
>
>
> On 22 Jan 2005 11:09:51 -0000, PAMELA WHITTAKER [EMAIL REMOVED]
> wrote:
>> I think that your idea of the URL filter is the most likely as the links
>> looked like the second lot originally and then they made it Search Engine
>> friendly before we took it over - thanks.
>>
>> I am also puzzled with this bit of code:-
>>
>> function main_nav()
>> {
>> if (isset($_GET['googs']))
>> {
>> $_SESSION['session_bot']=true;
>> }
>> elseif ( isset($_GET['nogoogs']))
>> {
>> $_SESSION['session_bot']=false;
>> $location = str_replace( 'nogoogs' , '' ,
>> $_SERVER['REQUEST_URI'] );
>> header('Location:' . $location );
>> die();
>> }
>>
>> $_GET['googs'] and $_GET['nogoogs'] aren't set in the code anywhere so it
>> must be something on the server at a guess but what and what is the
>> purpose
>> of it? Any ideas please. I imagine it has something to do with google
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
January 31st 2005
January 30th 2005
January 29th 2005
January 28th 2005
January 27th 2005
January 26th 2005
January 25th 2005
January 24th 2005
January 23rd 2005
January 22nd 2005
January 21st 2005
January 20th 2005
January 19th 2005
January 18th 2005
January 17th 2005
January 16th 2005
January 15th 2005
January 14th 2005
January 13th 2005
January 12th 2005
January 11th 2005
January 10th 2005
January 9th 2005
January 8th 2005
January 7th 2005
January 6th 2005
January 5th 2005
January 4th 2005
January 3rd 2005
January 2nd 2005
January 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000