php search url

Discussion in 'Programming' started by CerIs, Oct 17, 2008.

  1. #1
    Hi, im new to php so have no idea how to do this. I want to search the url for a specific word eg: i want to find if the url: http://www.mywebsite.com/store/this_is_a_page/ has the word "Store" in it?

    Im not sure because its not a variable in the url but a word in it.

    Thanks CerIs
     
    CerIs, Oct 17, 2008 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #2
    mwasif, Oct 17, 2008 IP