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.

Find the Correct PHP file or any file that has this Text

Discussion in 'HTML & Website Design' started by fullylucky, Jan 31, 2020.

  1. #1
    Hi Guys! it's me again.

    I have a question. Basically there is this button with certain text on it on my website.

    The text isn't too common.

    I know the text must be in one of the files that I am hosting. Somewhere one of the files has it.

    I want to edit that text.

    Question: Is there a way to search for that file. When I use the search it searches the file names and not the contents of the file.

    Any help is greatly appreciated. Thank you for your time.

    I'm using cPanel by the way.
    Solved! View solution.
    Last edited: Jan 31, 2020
    fullylucky, Jan 31, 2020 IP
  2. #2
    Download a copy of all the files then locally use a program like Notepad++ which has a "find in files" search option. Once you've found the text in the local version you'll know which file it's in, in the live version
    SpacePhoenix, Feb 1, 2020 IP
  3. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Likes Received:
    Best Answers:
    Trophy Points:
    I don't know what type of setup you've got but try searching for that text in either the language file / folder or config file.
    qwikad.com, Feb 1, 2020 IP
  4. fullylucky

    fullylucky Active Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Hi Thanks SpacePhoenix!!!

    so your answer was the best. Using NOTEPAD++ you go to Search > Find In File

    or alt. press short cut key:
    Ctrl + Shift + F

    I never used this feature before I'm so newb. Cheers.
    fullylucky, Feb 1, 2020 IP