當前位置:首頁 » 密碼管理 » xampp訪問慢

xampp訪問慢

發布時間: 2023-01-19 00:33:24

① XAMPP本地伺服器搭建好了,就是不會訪問

假設80改為了8001 則使用 http://localhost:8001 訪問xampp主頁, 訪問xampp下的其他php也是這樣

② 為什麼用xampp的wordpress建立的網站內網可以訪問,外網訪問不能

看一下你的xampp有沒有關閉安全模式,或者再檢查一下iptables是不是啟動狀態

③ mac上用xampp搭建wordpress本地環境 怎麼頁面反應很慢

先判斷下是否登錄,然後獲取當前用戶對象,然後獲取當前用戶對象的信息,需要哪些用哪些:
if(is_user_logged_in()){
$current_user = wp_get_current_user();
/**
* @example Safe usage: $current_user = wp_get_current_user();
* if ( !($current_user instanceof WP_User) )
* return;
*/
echo 'Username: ' . $current_user->user_login . '<br />';
echo 'User email: ' . $current_user->user_email . '<br />';
echo 'User first name: ' . $current_user->user_firstname . '<br />';
echo 'User last name: ' . $current_user->user_lastname . '<br />';
echo 'User display name: ' . $current_user->display_name . '<br />';
echo 'User ID: ' . $current_user->ID . '<br />';
}

熱點內容
java返回this 發布:2025-10-20 08:28:16 瀏覽:600
製作腳本網站 發布:2025-10-20 08:17:34 瀏覽:892
python中的init方法 發布:2025-10-20 08:17:33 瀏覽:585
圖案密碼什麼意思 發布:2025-10-20 08:16:56 瀏覽:769
怎麼清理微信視頻緩存 發布:2025-10-20 08:12:37 瀏覽:689
c語言編譯器怎麼看執行過程 發布:2025-10-20 08:00:32 瀏覽:1016
郵箱如何填寫發信伺服器 發布:2025-10-20 07:45:27 瀏覽:261
shell腳本入門案例 發布:2025-10-20 07:44:45 瀏覽:119
怎麼上傳照片瀏覽上傳 發布:2025-10-20 07:44:03 瀏覽:809
python股票數據獲取 發布:2025-10-20 07:39:44 瀏覽:718