09-20-2005
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am completely new to perl and am just going over the tutorials right now. What I am trying to attempt is to take the input from the HTML (in a form) and use those variables in a perl script. I've looked everywhere for a simple example on how to do this and cannot find it or do not understand... (5 Replies)
Discussion started by: douknownam
5 Replies
2. Shell Programming and Scripting
i have a HTML report file..its in attachment(a part of the whole report is attached..name "input html.doc").also its source is attached in "report source code.txt"
i just want to seperate the datas like in first line it should be..
NHTEST-3848498958-NHTEST-10.2-no-baloo a
and so on for whole... (3 Replies)
Discussion started by: avik1983
3 Replies
3. Shell Programming and Scripting
I have a perl script that prints up the html code and executes a few korn scripts to populate the web code.
Disclaimer === I can throw together some korn scripts pretty quick. This code changes pretty frequently. I don't know enough about perl to do everything I need. One day maybe I'll get... (4 Replies)
Discussion started by: i9300
4 Replies
4. Shell Programming and Scripting
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using... (2 Replies)
Discussion started by: DILEEP410
2 Replies
5. Shell Programming and Scripting
Hi,
I have to insert html frames in for loop.
Here is the code.
for($k=0;$k<3;$k++)
{
print<<HTML;
<html>
<head>
<title>
HTML Horizontal Frames
</title>
</head>
<frameset cols="25%,75%">
<frame src="a.html">
<frame src="b.html">
</frameset> (0 Replies)
Discussion started by: vanitham
0 Replies
6. Shell Programming and Scripting
Hello all
I have a string like
" Have Fun for the rest of the day !. I will meet you tomorrow!"
! is the HTML Equivalent of ! symbol.
From the above string, i would like to remove only the HTML encoded special characters.
Output should be like
" Have Fun for the rest of the day... (4 Replies)
Discussion started by: vasuarjula
4 Replies
7. Shell Programming and Scripting
My webpage is hosted from perlscript(homepage.pl), i want to add piece of html code in the footer of the homepage. I simply pasted the html code at the end of the perl script as below...
========================================================
close(OUTSQL);
... (4 Replies)
Discussion started by: paventhan
4 Replies
8. UNIX for Dummies Questions & Answers
I'm writing a perl script that writes an html file.
use Tie::File;
my ($dir) = @ARGV;
open (HTML,">","$dir/file.html") || die $!;
#-----Building HTML file---------------------------
print HTML "<!DOCTYPE html>
<html>
<head>
<title>Output</title>
<link... (3 Replies)
Discussion started by: jrymer
3 Replies
9. Shell Programming and Scripting
Hello
I want to replace the path to which a hyperlink points to. I have a html file
<TABLE BORDER CELLPADDING=7, border=0><TR><td>Jun-10-2013_03_19_07_AM</td><td>Ank_Insert_1</td><td><b>FAILED: 1</b></td><td><A
... (14 Replies)
Discussion started by: ankurk
14 Replies
LEARN ABOUT DEBIAN
lwp::authen::wsse
LWP::Authen::Wsse(3pm) User Contributed Perl Documentation LWP::Authen::Wsse(3pm)
NAME
LWP::Authen::Wsse - Library for enabling X-WSSE authentication in LWP
VERSION
This document describes version 0.05 of LWP::Authen::Wsse, released December 27, 2005.
SYNOPSIS
use LWP::UserAgent;
use HTTP::Request::Common;
my $url = 'http://www.example.org/protected_page.html';
# Set up the WSSE client
my $ua = LWP::UserAgent->new;
$ua->credentials('example.org', '', 'username', 'password');
$request = GET $url;
print "--Performing request now...-----------
";
$response = $ua->request($request);
print "--Done with request-------------------
";
if ($response->is_success) {
print "It worked!->", $response->code, "
";
}
else {
print "It didn't work!->", $response->code, "
";
}
DESCRIPTION
"LWP::Authen::Wsse" allows LWP to authenticate against servers that are using the "X-WSSE" authentication scheme, as required by the Atom
Authentication API.
The module is used indirectly through LWP, rather than including it directly in your code. The LWP system will invoke the WSSE
authentication when it encounters the authentication scheme while attempting to retrieve a URL from a server.
You also need to set the credentials on the UserAgent object like this:
$ua->credentials('www.company.com:80', '', "username", "password");
Alternatively, you may also subclass LWP::UserAgent and override the "get_basic_credentials()" method. See LWP::UserAgent for more
details.
SEE ALSO
LWP, LWP::UserAgent, lwpcook.
AUTHORS
Audrey Tang <audrey@audrey.org>
COPYRIGHT
Copyright 2004, 2005 by Audrey Tang <audrey@audrey.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.14.2 2012-11-27 LWP::Authen::Wsse(3pm)