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.

serach text inside PHP files

Discussion in 'PHP' started by gclass, Jul 15, 2009.

  1. #1
    Hello,

    I am using Dreamwaver for PHP editing, and I am looking a way to search text inside PHP files without the need to open each one, meaning to search bulk files in a folder which contain some text in it?

    Thanks
    Kobi
     
    gclass, Jul 15, 2009 IP
  2. niceabi

    niceabi Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ya bro my Question was sam here plz do some thing for us
     
    niceabi, Jul 15, 2009 IP
  3. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #3
    Dreamweaver has a very nice search and replace function that I use for all sorts of things.

    CTRL F, then change 'Find in:' to Folder. And then it's pretty much common sense from here on...

    [​IMG]
     
    Kerosene, Jul 15, 2009 IP
    gclass likes this.
  4. gclass

    gclass Active Member

    Messages:
    337
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Hi Kerosene,

    I hope you can hear me applauding loudly here :)

    Thanks for your help,
    Kobi
     
    gclass, Jul 15, 2009 IP
    Kerosene likes this.
  5. niceabi

    niceabi Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    but i want to know about in website....when i will put .php file in my website and how can i creat search bar....and how can it search it
     
    niceabi, Jul 15, 2009 IP
  6. newgenservices

    newgenservices Well-Known Member

    Messages:
    862
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    105
    Digital Goods:
    1
    #6
    @niceabi : Not sure if you really want to know that or if you posted this to get over peon status, but let me tell you. If you got SSH access, you can try using vim to open the file and you can just press / <text_to_search_here> and press enter.
     
    newgenservices, Jul 15, 2009 IP
  7. Unregistered

    Unregistered Peon

    Messages:
    155
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Do you mean searching the contents that your PHP file will display? Like a site / page search tool?
     
    Unregistered, Jul 15, 2009 IP
  8. niceabi

    niceabi Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i just want to know that i have xml file and i want to make it database and i want to know how can i put it and how can user can search with the data who is in xml file
     
    niceabi, Jul 16, 2009 IP