סקירה
מדריך זה עוסק ב־תקלות שרת ומספק פתרון מלא.
קוד PHP
sudo tail -f /var/log/nginx/error.log
קוד JavaScript להדגמה
document.addEventListener('click',function(e){
if(e.target.classList.contains('copy-btn')){
const id=e.target.dataset.target;
const txt=document.getElementById(id).innerText;
navigator.clipboard.writeText(txt).then(()=>{
e.target.textContent='הועתק!';
setTimeout(()=>e.target.textContent='העתק קוד',1500);
});
}
});
שלבים
- הדבק את קוד ה‑PHP בפלאגין קסטום.
- טען את
copy-code.jsלפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 16
מבקרים ייחודיים: 16
- 🧍 172.71.194.144 (
United States) - 🧍 172.71.194.146 (
United States) - 🧍 162.158.90.106 (
United States) - 🧍 172.71.222.125 (
United States) - 🧍 172.71.150.120 (
United States) - 🧍 172.70.134.126 (
United States) - 🧍 104.23.211.219 (
United States) - 🧍 172.71.194.67 (
United States) - 🧍 104.23.187.109 (
United States) - 🧍 172.71.194.157 (
United States) - 🧍 172.71.190.21 (
United States) - 🧍 104.23.213.171 (
United States) - 🧍 162.158.41.220 (
United States) - 🧍 172.68.244.201 (
United States) - 🧍 172.71.190.20 (
United States) - 🧍 172.71.1.151 (
United States)
United States)