סקירה
מדריך זה עוסק ב־תקלות שרת ומספק פתרון מלא.
קוד 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לפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 20
מבקרים ייחודיים: 20
- 🧍 172.68.245.108 (
United States) - 🧍 172.71.190.50 (
United States) - 🧍 162.158.90.106 (
United States) - 🧍 172.71.146.163 (
United States) - 🧍 108.162.246.105 (
United States) - 🧍 172.68.245.135 (
United States) - 🧍 172.71.222.125 (
United States) - 🧍 104.23.209.136 (
United States) - 🧍 162.158.41.65 (
United States) - 🧍 104.23.221.214 (
Sweden) - 🧍 104.23.209.204 (
United States) - 🧍 172.70.39.68 (
United States) - 🧍 104.23.211.53 (
United States) - 🧍 172.70.134.196 (
United States) - 🧍 172.71.146.129 (
United States) - 🧍 104.23.209.46 (
United States) - 🧍 162.158.42.211 (
United States) - 🧍 172.71.190.21 (
United States) - 🧍 172.70.42.23 (
United States) - 🧍 172.69.58.45 (
United States)
United States)
Sweden)