On Sat, Sep 26, 2009 at 12:15:05AM +0800, 叶孤城 wrote:
> 2009/9/26 Bruce Johnson :
>
> >
> > or just print the html. When executed as a cgi script, the outgoing
> > connection from Apache is the script's stdout. Variables substitute just
> > fine.
> >
> > print < > Content-type: text/html\n\n
> >
>
I would like to thank everyone for the very useful information. I have
gotten everything to work well. Also, the diverse views have given me
more options to try.
I am new to this 'web thing', having done system level programming for
over 30 years. I am trying to learn the various strategies and th
2009/9/26 Bruce Johnson :
>
> or just print the html. When executed as a cgi script, the outgoing
> connection from Apache is the script's stdout. Variables substitute just
> fine.
>
> print < Content-type: text/html\n\n
>
> Howdy $username!
> ...
>
> EOF
>
> Works for us.
>
> This way I can do
On Sep 25, 2009, at 6:14 AM, Michael Peters wrote:
On 09/25/2009 08:17 AM, Chuck Crisler wrote:
# output a document
print $query->header();
print $query->start_html(-title=>"Howdy",
-style=>{-src=>'./dynamic.css'});
print $query->h1('Form Data');
Also, not to confus
On 09/25/2009 08:17 AM, Chuck Crisler wrote:
# output a document
print $query->header();
print $query->start_html(-title=>"Howdy",
-style=>{-src=>'./dynamic.css'});
print $query->h1('Form Data');
Also, not to confuse you too much, but most people don't use CGI.pm's
H
PERFECT! :-) Thank You!!!
On Fri, 2009-09-25 at 20:26 +0800, 叶孤城 wrote:
> 2009/9/25 Chuck Crisler :
> >
> > use CGI;
> > use DBI;
> >
> > my $query=new CGI;
> > ...
> > # output a document
> > print $query->header();
> > print $query->start_html(-title=>"Howdy",
> > -style=
2009/9/25 Chuck Crisler :
>
> use CGI;
> use DBI;
>
> my $query=new CGI;
> ...
> # output a document
> print $query->header();
> print $query->start_html(-title=>"Howdy",
> -style=>{-src=>'./dynamic.css'});
> print $query->h1('Form Data');
>
>
> Here is the contents of the f
I am trying to get some basic knowledge and experience with programming
mod_perl. I have created an HTML form that calls a perl script, get the
info, query a mySQL database and display the results. So far so good. I
am now trying to 'jazz-up' my results document with a CSS. I don't get
any errors b