This is a discussion on "CGI Trouble" within the Other Programming Languages section. This forum, and the thread "CGI Trouble are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
CGI Trouble
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
CGI Trouble
I am trying to learn CGI but I am having a little trouble.
#!/usr/bin/perl -wT print "Content-type: text/html\n\n"; print "<html><head><title>Hello World</title></head>\n"; print "<body>\n"; print "<h2>Hello, world!</h2>\n"; print "</body></html>\n"; This is a very simple script but when I view it in my browser it shows #!/usr/bin/perl -wT print "Content-type: text/html\n\n"; print "\n"; print "\n"; print " Hello, world! \n"; print "\n"; Its supposed to only show hello world? |
|
|
![]() |
| Tags |
| cgi, trouble |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| css navigation bar trouble | danny322 | Web Page Design | 7 | Dec 17th, 2007 15:47 |
| Trouble with onLoadError | Darren Spidell | Flash & Multimedia Forum | 0 | Apr 2nd, 2007 14:39 |
| Having Trouble with Formmail.php | fireboat | PHP Forum | 2 | Mar 18th, 2007 08:42 |
| Having trouble with PHP | voodoo465 | PHP Forum | 5 | Feb 20th, 2007 22:47 |
| Browser trouble? | sheltomlee | Starting Out | 4 | Jan 28th, 2007 22:47 |