string contains string?
Posted: Thu Jul 10, 2003 3:10 am
I'll to explain my question: I have an string (url) and want to know wich searchengine it comes from.
the string is: "http://www.google.com/search?sourceid=n ... devnetwork"
and want php to let me know if string "google", "altavista" or something is in that string. How can i do that?
Do i have to use 'parse_str'? Or what? Switch/cases?
Please help me!
the string is: "http://www.google.com/search?sourceid=n ... devnetwork"
and want php to let me know if string "google", "altavista" or something is in that string. How can i do that?
Do i have to use 'parse_str'? Or what? Switch/cases?
Please help me!