1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

HELP!strpos multiple patterns to be search in a string !

Discussion in 'PHP' started by jigen7, Sep 20, 2007.

  1. #1
    is strpos can handle multiple patterns?for example i want to know if a string contains a word google or yahoo??? i need to get urls from which they dont have any google or yahoo word on it to be able to save it to an array...
    jigen7, Sep 20, 2007 IP
  2. omgitsfletch

    omgitsfletch Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:
    You probably would be better suited looking into regular expressions. Check out preg_match() in the PHP function list.
    omgitsfletch, Sep 20, 2007 IP
    guerilla likes this.