Menu

search for text in source

Help
2012-04-16
2013-04-09
  • Nobody/Anonymous

    Just want to check I am understanding this correctly. Using the returned $page_source I can look for a string of text in each page?  I'd like to use this to crawl our site looking for analytics code and see which pages are missing it.
    Thanks - looks good

     
  • Nobody/Anonymous

    Hi!

    Yes, that's correct.
    But it's $page_data, not $page_source ;)

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.