Skip navigation
Currently Being Moderated

How to check the url on a specific word

Mar 21, 2012 1:41 AM

Making use of htaccess and Google translate I have buttons to several languages  on my site that send the site  to Google translate. This works OK.

However within Google-translate the same buttons e.g. to switch to another language don't work anymore because of the url has changed.

So my idea is to use PHP to check the url on the word Google so that the buttons are not shown when if it is found.

Is there a way within PHP to check if a particular word is part of the url?

 

Any help is greatly appreciated.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points