סקירה
מדריך זה עוסק ב־תקלות שרת ומספק פתרון מלא.
קוד 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
לפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 12
מבקרים ייחודיים: 12
- 🧍 104.23.213.87 (
United States)
- 🧍 104.23.211.17 (
United States)
- 🧍 162.158.187.34 (
United States)
- 🧍 172.70.43.56 (
United States)
- 🧍 172.70.115.159 (
United States)
- 🧍 172.70.34.246 (
United States)
- 🧍 172.71.223.103 (
United States)
- 🧍 162.158.78.101 (
United States)
- 🧍 172.70.206.217 (
United States)
- 🧍 141.101.97.95 (
France)
- 🧍 172.70.39.68 (
United States)
- 🧍 104.23.199.151 (
Germany)