Re: [MacPerl-AnyPerl] HELP NEEDED ADDING HTML CODE TO A CGI PAGE
[email protected] (David Iberri) Sun, 11 May 2003 22:17:39 -0700
| Newsgroups | perl.macperl.anyperl |
|---|---|
| Message-ID | <BAE47C82.7041%[email protected]> |
At 5/11/2003 9:57 AM, ignacio_nieto wrote: > I had a cgi-page done by a button. > In the cgi-page appear the word: > hello! > Can I add a html code in the page cgi-code? > Can someone give me an example. The output generated by your CGI program can contain just about anything. For HTML output, try this: print "Content-type: text/html\n\n"; print <<END_HTML; <HTML> <!-- Your HTML here --> </HTML> END_HTML > Is there the posibility to send the cgi-bin page to a search engines? > How can I do it? It's difficult to determine what you're trying to achieve. Would you like your CGI program to redirect to a search engine? Perform some search? Be included on the pages indexed by search engines such as Google? Please be more specific. Regards, David