סקירה
מדריך זה עוסק ב־תקלות שרת ומספק פתרון מלא.
קוד 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
לפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 21
מבקרים ייחודיים: 21
- 🧍 104.23.211.145 (
United States)
- 🧍 104.23.211.144 (
United States)
- 🧍 172.70.175.220 (
United States)
- 🧍 172.71.194.50 (
United States)
- 🧍 172.71.99.37 (
Netherlands)
- 🧍 172.70.38.121 (
United States)
- 🧍 172.70.46.237 (
Netherlands)
- 🧍 104.23.213.86 (
United States)
- 🧍 172.71.194.197 (
United States)
- 🧍 172.70.206.216 (
United States)
- 🧍 172.71.194.67 (
United States)
- 🧍 172.69.90.78 (
Brazil)
- 🧍 172.70.42.22 (
United States)
- 🧍 172.71.146.147 (
United States)
- 🧍 162.158.88.2 (
Singapore)
- 🧍 172.70.134.197 (
United States)
- 🧍 172.70.34.64 (
United States)
- 🧍 172.68.244.201 (
United States)
- 🧍 172.70.42.207 (
United States)
- 🧍 104.23.211.52 (
United States)
- 🧍 172.71.194.166 (
United States)