teach yourself cgi programming with perl in a week - sams 1996
... valid reasons for using the extra-path-info variables. The image map program, for example, uses extra-path-info as an input parameter that describes the location of map files. Image maps are covered ... originally for working with text, generating reports, and manipu- lating files. It does all these things fairly well, and fairly easily. Larry Wall and Randal L. Schwartz of Programming...
Ngày tải lên: 25/03/2014, 10:29
... xi www.it-ebooks.info Part IV Building Basic CGI Applications 227 13 Using Flat Files for Data Storage 229 What Is a Database? 230 Flat-File Databases 230 Delimiting Data Using Characters 231 Delimiting Data Using ... Operations 232 Retrieving Records from a Database 232 Inserting a Record into a Database 232 Deleting Records from a Database 232 Modifying a Record in a Datab...
Ngày tải lên: 23/03/2014, 15:20
... School of Pharmaceutical Sciences, Kyoto University 4 6-2 9 Yoshidashimoadachi-cho, Sakyo-ku, Kyoto 60 6-8 501, Japan. Tel: +8 1-7 5-7 5 3-9 560, Fax: +8 1-7 5-7 5 3-4 502, E-Mail: sakaedat@pharm.kyoto-u.ac.jp ... pharmacokinetics of 5-fluorouracil (5-FU) were investigated in Japanese patients with esophageal squamous cell carcinoma, who were treated with a definiti...
Ngày tải lên: 26/10/2012, 09:53
Web Client Programming with Perl-Chapter 3: Learning HTTP- P3
... chapter, we'll list all the headers, and then discuss the ones that are most interesting, in context. Appendix A contains a full listing of headers, with examples for each and additional ... example If-Modified-Since header might read: If-Modified-Since: Fri, 02-Jun-95 02:42:43 GMT The same formats accepted for the Date header (listed in Appendix A) are used for the If-Mo...
Ngày tải lên: 17/10/2013, 19:15
Web Client Programming with Perl-Chapter 4: The Socket Library- P1
... is printed. Finally, for any remaining command-line parameters, treat them as URLs and pass them to the hcat( ) routine. Examples: Print out response line only: % hcat -r http://www.ora.com ... contact a server at a desired host and port. The configuration information is stored in a data structure that is passed to connect( ). my $sin = sockaddr _in (80,inet_aton('www.o...
Ngày tải lên: 20/10/2013, 10:15
Web Client Programming with Perl-Chapter 4: The Socket Library- P2
... application of the web client. Some tag parameters change the tag's appearance by adjusting colors or sizes. Other tags are informational, like variable names and hidden variable declarations ... fetch images and hyperlinks into arrays, print them out if (defined $images || $all) { @links=grab_urls($data, ('img', 'src', 'body', 'background&ap...
Ngày tải lên: 20/10/2013, 10:15
Web Client Programming with Perl-Chapter 5: The LWP Library- P1
... Content- type header. To define a new header value, invoke header( ) with an associative array with header => value pairs, where the value is a scalar or reference to an array. For example, ... on a hyperlink, he expects to see the data associated with the hyperlink. On the other hand, a robot application requests resources in an automated fashion. Robot applications c...
Ngày tải lên: 24/10/2013, 08:15
Web Client Programming with Perl-Chapter 5: The LWP Library- P2
... extract any hyperlink it can find. To specify certain types of hyperlinks, one can pass in an array of scalars, where the scalars are: body, base, a, img, form, input, link, frame, applet, and ... of the paper in points. LeftMargin Left margin in points. RightMargin Right margin in points. HorizontalMargin Left and right margin. Default is 4 cm. TopMargin Top margin in p...
Ngày tải lên: 24/10/2013, 08:15
Web Client Programming with Perl-Chapter 6: Example LWP Programs-P1
... The examples in this chapter all use a simple command-line interface. In Chapter 7, Graphical Examples with Perl/ Tk, we have some additional examples with a graphical interface using the Tk extension ... site and does a query on a periodic basis. The package is implemented as a class, so you can easily transport this to another program, if you want. In Chapter 7, we...
Ngày tải lên: 28/10/2013, 15:15
Web Client Programming with Perl-Chapter 6: Example LWP Programs-P2
... back onto the queue), we use an associative array called %touched and associate any URL that has been visited with a value of 1. There are other useful variables that are also used, to track ... Display local URLs -r Display remote URLs -R Display which HTML pages refers to what -n Display non-HTML links -b Display bad URLs (default) -a Display all of the above -v Print ou...
Ngày tải lên: 28/10/2013, 15:15