diff --git a/cgi-bin/hello.php b/cgi-bin/hello.php index cd3dfde190e433b616f35e1e31650b9a1cca54d2..ad1f3cc99714a8b312073044b585baace386c4ed 100755 --- a/cgi-bin/hello.php +++ b/cgi-bin/hello.php @@ -1,4 +1,3 @@ #!/usr/bin/php <?php echo "Content-type: text/html\n\n"; ?> -<?php echo "Hello, World!"; ?> - +<?php echo "Hello, World!";?> diff --git a/cgi-bin/hello.pl b/cgi-bin/hello.pl index d4828830bc927f6a79207e8b72e12725b515caf1..7b5a1ae1c8e584d7ef2d8ac5f7a51d44805aa4dd 100755 --- a/cgi-bin/hello.pl +++ b/cgi-bin/hello.pl @@ -1,3 +1,3 @@ #!/usr/bin/perl print "Content-type: text/html\n\n"; -print "Hello, World!"; \ No newline at end of file +print "Hello, World!\n"; \ No newline at end of file diff --git a/cgi-bin/hello.py b/cgi-bin/hello.py index 76c95cf3bcef9222aa6d3eb174e1c1d9a3bd256c..bdc92127165a7015e613c194915974faab671ac6 100755 --- a/cgi-bin/hello.py +++ b/cgi-bin/hello.py @@ -1,11 +1,3 @@ #!/usr/bin/python - -print "Content-type:text/html\r\n\r\n" -print '<html>' -print '<head>' -print '<title>Hello World!</title>' -print '</head>' -print '<body>' -print '<h2>Hello, World!</h2>' -print '</body>' -print '</html>' \ No newline at end of file +print "Content-type: text/html\n" +print "Hello, World!" \ No newline at end of file diff --git a/cgi-bin/hello.sh b/cgi-bin/hello.sh index 283b896e742e27ecb28eb254136ed30c45b9657a..7e10e64d47d6a5a17e57b48552e9061a26ad432e 100755 --- a/cgi-bin/hello.sh +++ b/cgi-bin/hello.sh @@ -1,16 +1,5 @@ #!/bin/bash - echo "Content-type: text/html" echo "" - -echo '<html>' -echo '<head>' -echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' -echo '<title>Hello World</title>' -echo '</head>' -echo '<body>' echo 'Hello, World!' -echo '</body>' -echo '</html>' - exit 0