douci2015 2016-08-23 00:09
浏览 8

我在哪里可以找到PHP从中获取文本/表的文件?

I recently inherited a website with a horrible file structure. I need to update some content (text) but I can’t find where it is being defined. The database table does not have the information, so I'm guessing the text is being defined elsewhere. Is there a tool or "trick" in Chrome Dev Tools to find the content source? Your help is much appreciated!

***Snippet from PHP File:

<div id="product_wrapper" class="add-bottom30">
      <div class="columns sixteen">
              <div class="columns twelve add-bottom60 catalogue">
                    <!-- Pager -->
                                 <?php include('sql-' . $_SESSION['lang'] . '/promos.php');?>

              </div>
              <div class="columns four side">
               <h5 style="margin-bottom:25px;">FLYERS</h5>
                    <ul>

                        <li style="background-color:#0065a4;">
                            <a href="download-file.php?file=<?php echo 'doc-' . $_SESSION['lang'] . '/flyers/Storage-April-2016.pdf&&type=pdf' ?>"><?php echo flyer_jet_2016; (where the text I need to change lives) ?></a>
                        </li>

                    </ul>
                </div>
                <div class="clear"><!-- ClearFix --></div>
             </div>
        </div>

*** Snippet from source code ("View Source" in Chrome):

       <div class="columns four side">
               <h5 style="margin-bottom:25px;">FLYERS</h5>
                    <ul>

                        <li style="background-color:#0065a4;">
                            <a href="download-file.php?file=doc-eng/flyers/JET-Storage-April-2016.pdf&&type=pdf"><span class="icon" data-icon="(" style="color:#fff;margin-bottom:15px;"></span><br>Tool Storage<br>Solutions 2016</a>
                        </li>

                    </ul>
                </div>
                <div class="clear"><!-- ClearFix --></div>
             </div>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 java报错:使用mybatis plus查询一个只返回一条数据的sql,却报错返回了1000多条
    • ¥15 Python报错怎么解决
    • ¥15 simulink如何调用DLL文件
    • ¥15 关于用pyqt6的项目开发该怎么把前段后端和业务层分离
    • ¥30 线性代数的问题,我真的忘了线代的知识了
    • ¥15 有谁能够把华为matebook e 高通骁龙850刷成安卓系统,或者安装安卓系统
    • ¥188 需要修改一个工具,懂得汇编的人来。
    • ¥15 livecharts wpf piechart 属性
    • ¥20 数学建模,尽量用matlab回答,论文格式
    • ¥15 昨天挂载了一下u盘,然后拔了