Emit HTML tags, too.
This commit is contained in:
		
							parent
							
								
									6804ad4712
								
							
						
					
					
						commit
						367caeb01d
					
				| 
						 | 
				
			
			@ -1,9 +1,10 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
# An example CGI program outputing the current date
 | 
			
		||||
echo Content-Type: text/html
 | 
			
		||||
echo Status: 200 OK
 | 
			
		||||
echo content-type: text/html
 | 
			
		||||
echo status: 200 OK
 | 
			
		||||
echo 
 | 
			
		||||
echo "<html><body>"
 | 
			
		||||
echo "<h2> This is the cgi script. </h2>"
 | 
			
		||||
echo "<br> Current date: "
 | 
			
		||||
echo `date`
 | 
			
		||||
echo
 | 
			
		||||
echo "</body></html>"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue