On Sat, Sep 26, 2009 at 12:15:05AM +0800, 叶孤城 wrote:
2009/9/26 Bruce Johnson john...@pharmacy.arizona.edu:
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 EOF;
Content-type:
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
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
2009/9/25 Chuck Crisler charles.cris...@comcast.net:
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
PERFECT! :-) Thank You!!!
On Fri, 2009-09-25 at 20:26 +0800, 叶孤城 wrote:
2009/9/25 Chuck Crisler charles.cris...@comcast.net:
use CGI;
use DBI;
my $query=new CGI;
...
# output a document
print $query-header();
print $query-start_html(-title=Howdy,
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
HTML
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 confuse you
2009/9/26 Bruce Johnson john...@pharmacy.arizona.edu:
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 EOF;
Content-type: text/html\n\n
html
link rel=stylesheet href=./dynamic.css