日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

sql网站路径php,如何在源码中找出sql语句的位置呢

發布時間:2024/10/8 php 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 sql网站路径php,如何在源码中找出sql语句的位置呢 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

查navigation這個model的類

不好意思,這個類有是有,但里面是空的

它里面有這么一句話:

/**

* 獲取導航

*/

Tpl::output('nav_list',($nav = F('nav'))? $nav :H('nav',true,'file'));

不知從這句中查哪里呢

用 debug_backtrace 看一下

用 debug_backtrace 看一下

試了一下,打印出這么一大坨,這怎么判斷呢[code=php]Array ( [0] => Array ( [file] => D:\WWW\cms\templates\default\layout\cms_layout.php [line] => 3 [function] => require ) [1] => Array ( [file] => D:\WWW\core\framework\libraries\tpl.php [line] => 118 [args] => Array ( [0] => D:\WWW\cms\templates\default\layout\cms_layout.php ) [function] => include_once ) [2] => Array ( [file] => D:\WWW\cms\control\index.php [line] => 20 [function] => showpage [class] => Tpl [type] => :: [args] => Array ( [0] => index ) ) [3] => Array ( [file] => D:\WWW\core\framework\core\base.php [line] => 97 [function] => indexOp [class] => indexControl [object] => indexControl Object ( [publisher_name:protected] => [publisher_id:protected] => 0 [publisher_type:protected] => 0 [attachment_path:protected] => [publish_state:protected] => 2 ) [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => D:\WWW\core\framework\core\base.php [line] => 52 [function] => control [class] => Base [type] => :: [args] => Array ( ) ) [5] => Array ( [file] => D:\WWW\cms\index.php [line] => 35 [function] => run [class] => Base [type] => :: [args] => Array ( ) ) )

[/code]

我突然想到了,它會不會是一個表單,因為這個是后臺輸入的,只要一輸入就進入這個數組里面,結果一查還真是,不過還有一點疑問,那就是這個數組索引在td中啊,雖然這個td在form表單中,但是就是這樣,他也不會在表單值中啊,因為表單我理解必須在input中才行,這個怎么解釋呢

還有一點就是:這個 $output到底在哪里定義的,它不可能憑空就有的,肯定是在哪里定義的

我搜了下源碼,到是有不少$output,但是都不象定義的初始模樣,很多一看就是引用的。

本文原創發布php中文網,轉載請注明出處,感謝您的尊重!

總結

以上是生活随笔為你收集整理的sql网站路径php,如何在源码中找出sql语句的位置呢的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。