| 
	 | 
| 
			
			 | 
		# 1 | 
| 
			
			 חבר בקהילה 
  
  
			
			
            
				
			
			 | 
	
	
	
		
		
			
			 
				
				שעון JS שמציג שעה לפי time() ב Php
			 
			איך עושים ששעון בJS יציג שעה לפי הtime() בPhp? 
		
		
		
        
		
			
		
		
		
		
	 | 
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		# 2 | 
| 
			
			 Winner 
  
  
			
			
            
			 | 
	
	
	
		
		
		
  		
		 AJAX 
		
		
		
        
		
			
				__________________ 
		
		
		
		
	בברכה, רום. מתכנת אפליקציות אינטרנט. אימייל: Rom.As10@gmail.com מסנג'ר: Rom_as10@hotmail.com  | 
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		# 3 | |
| 
			
			 חבר בקהילה 
  
  
			
			
            
			 | 
	
	
	
		
		
		
  		
		 ציטוט: 
	
 בשביל זה הנה מצאתי קוד בגוגל, ובדקתי - הוא עובד קוד: 
	<script type="text/javascript">
// Current Server Time script (SSI or PHP)- By JavaScriptKit.com (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use.
//Depending on whether your page supports SSI (.shtml) or PHP (.php), UNCOMMENT the line below your page supports and COMMENT the one it does not:
//Default is that SSI method is uncommented, and PHP is commented:
var currenttime = '<? print date("F d, Y H:i:s", time())?>' //PHP method of getting server date
///////////Stop editting here/////////////////////////////////
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
var serverdate=new Date(currenttime)
function padlength(what){
var output=(what.toString().length==1)? "0"+what : what
return output
}
function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds())
document.getElementById("servertime").innerHTML=datestring+" "+timestring
}
window.onload=function(){
setInterval("displaytime()", 1000)
}
</script>
<p><b>Current Server Time:</b> <span id="servertime"></span></p>
<p style="font: normal 11px Arial">This free script provided by<br />
<a href="http://www.javascriptkit.com">JavaScript Kit</a></p>
 | 
|
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		# 4 | 
| 
			
			 אחראי פורום 
  
  
			
			
            
			 | 
	
	
	
		
		
		
  		
		 pirsomet 
		
		
		
        
		
		
	הוא ביקש JS בלבד, לא PHP. וזה חלק ב-PHP  | 
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		# 5 | ||
| 
			
			 חבר בקהילה 
  
  
			
			
            
			 | 
	
	
	
		
		
		
  		
		 ציטוט: 
	
 הוא כתב ציטוט: 
	
  | 
||
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		# 6 | 
| 
			
			 חבר בקהילה 
  
  
			
			
            
				
			
			 | 
	
	
	
		
		
		
  		
		 pirsomet תודה רבה, לא מפריע לי שיש php באמצע. 
		
		
		
        
		
			
		
		
		
		
	 | 
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
	
	
| חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
| כלים לאשכול | |
| תצורת הצגה | |
		
  | 
	
		
  |