סקירה
מדריך זה עוסק ב־תקלות שרת ומספק פתרון מלא.
קוד 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.70.38.208 (
United States) - 🧍 172.70.38.117 (
United States) - 🧍 172.70.206.217 (
United States) - 🧍 104.23.211.218 (
United States) - 🧍 172.70.115.214 (
United States) - 🧍 162.158.79.60 (
United States) - 🧍 172.70.174.26 (
United States) - 🧍 172.70.39.153 (
United States) - 🧍 141.101.69.136 (
France) - 🧍 104.23.213.165 (
United States) - 🧍 172.71.190.21 (
United States) - 🧍 162.158.41.220 (
United States) - 🧍 172.70.42.34 (
United States) - 🧍 104.23.213.171 (
United States) - 🧍 172.71.191.19 (
United States) - 🧍 104.23.225.168 (
France)
United States)
France)