סקירה
מדריך זה עוסק ב־תקלות שרת ומספק פתרון מלא.
קוד 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לפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 19
מבקרים ייחודיים: 19
- 🧍 172.71.190.118 (
United States) - 🧍 104.23.213.31 (
United States) - 🧍 162.158.187.34 (
United States) - 🧍 172.70.39.205 (
United States) - 🧍 104.23.209.116 (
United States) - 🧍 104.23.213.59 (
United States) - 🧍 172.70.34.6 (
United States) - 🧍 104.23.209.205 (
United States) - 🧍 172.70.42.22 (
United States) - 🧍 172.70.206.216 (
United States) - 🧍 172.71.135.74 (
France) - 🧍 172.71.194.52 (
United States) - 🧍 172.71.194.128 (
United States) - 🧍 162.158.41.64 (
United States) - 🧍 172.71.222.124 (
United States) - 🧍 172.70.39.67 (
United States) - 🧍 172.69.223.56 (
France) - 🧍 104.23.225.169 (
France) - 🧍 172.71.122.233 (
France)
United States)
France)