set_magic_quotes_runtime

set_magic_quotes_runtime是PHP函式。

基本介紹

  • 外文名:set_magic_quotes_runtime
  • 釋義:PHP函式
  • 狀態:已經廢棄
  • 功能:0-關閉 1-打開
函式介紹
set_magic_quotes_runtime(0); 可以修改php.ini中 magic_quotes_runtime boolean的設定。
0-關閉 1-打開。
php程式中檢測狀態用get_magic_quotes_runtime,返回 0 表示關閉本功能;返回 1 表示本功能打開。若 magic_quotes_runtime 打開時,所有外部引入的資料庫資料或者檔案等等都會自動轉為含有反斜線溢出字元的資料。
自 PHP 5.3.0 起,已經廢棄此函式。強烈建議不要套用此函式 。

相關詞條

熱門詞條

聯絡我們