01-20-2020
That source code you have directed us to visit and look at is an unformatted mess.
If you want the best help, please take your code, format it using your favorite code formatting tool (FWIW, I use Visual Studio Code), and post your well-formatted code you are having trouble with, using our CODE tags, so we can examine that code without looking at lines of an "unformatted mess from 2013".
Thanks so much.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a webpage, http://my.dns.com/~zp523/index.html,
I want all people to have read and execute privileges. I want to extend it with execute privilege. Which command should be used in chmod?
is it only give read(r) & execute(x) parameter in 'chmod ??? index.html'
thk a lot!! (1 Reply)
Discussion started by: zp523444
1 Replies
2. UNIX for Dummies Questions & Answers
I have an RPM that I am trying to install and it keeps coming back with:
I know I could kill the bird by throwing a "yum install *perl*" at it, but this seems like hurling a skyscraper at an ant...
any better suggestions? (2 Replies)
Discussion started by: jjinno
2 Replies
3. UNIX for Dummies Questions & Answers
I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have learned some of the Unix commands a way back and not sure of how to code them when needed in certain way, especially sed command. Here is my situation. I have an xml file with several tags. most of the tags start on the same line and end on the same line. However, data for some tags... (8 Replies)
Discussion started by: girish312
8 Replies
5. Web Development
Here is a bit of code I wrote that includes some HTML (table and image code) based on the width of the browser. It works in Firefox. I am not sure if it works for IE. (Need to test.)
<script type="text/javascript"><!--
var winWidth = window.innerWidth;
if (winWidth > 750) {... (0 Replies)
Discussion started by: Neo
0 Replies
6. Shell Programming and Scripting
Hi!
I am not a whiz at awk and very unsure about the aplication of awk solve my problem. I was hoping for some quick pointers so I can figure this out.
I have a file that looks like so:
label.Asked=\u8CEA\u554F\u6E08\u307F
button.Edit=\u7DE8\u96C6... (3 Replies)
Discussion started by: pinnochio
3 Replies
7. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
8. Shell Programming and Scripting
hey huys,
i'm extacting some data from a webpage. I used
lynx -dump URL > temp.dat
its working fine, but I need some data that is in the html code, so how could I store the whole html code of the URL in a file and exit like the above code. (2 Replies)
Discussion started by: Johanni
2 Replies
9. Shell Programming and Scripting
Hi there, I'm quite new to the forum and shell scripting.
I want to filter out the "166.0 points". The results, that i found in google / the forum search didn't helped me :(
<a href="/user/test" class="headitem menu" style="color:rgb(83,186,224);">test</a><a href="/points" class="headitem... (1 Reply)
Discussion started by: Mysthik
1 Replies
10. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT REDHAT
http::message
HTTP::Message(3) User Contributed Perl Documentation HTTP::Message(3)
NAME
HTTP::Message - Class encapsulating HTTP messages
SYNOPSIS
package HTTP::Request; # or HTTP::Response
require HTTP::Message;
@ISA=qw(HTTP::Message);
DESCRIPTION
An "HTTP::Message" object contains some headers and a content (body). The class is abstract, i.e. it only used as a base class for
"HTTP::Request" and "HTTP::Response" and should never instantiated as itself.
The following methods are available:
$mess = HTTP::Message->new
This is the object constructor. It should only be called internally by this library. External code should construct "HTTP::Request"
or "HTTP::Response" objects.
$mess->clone()
Returns a copy of the object.
$mess->protocol([$proto])
Sets the HTTP protocol used for the message. The protocol() is a string like "HTTP/1.0" or "HTTP/1.1".
$mess->content([$content])
The content() method sets the content if an argument is given. If no argument is given the content is not touched. In either case the
previous content is returned.
$mess->add_content($data)
The add_content() methods appends more data to the end of the current content buffer.
$mess->content_ref
The content_ref() method will return a reference to content buffer string. It can be more efficient to access the content this way if
the content is huge, and it can even be used for direct manipulation of the content, for instance:
${$res->content_ref} =~ s/foo/bar/g;
$mess->headers;
Return the embedded HTTP::Headers object.
$mess->headers_as_string([$endl])
Call the as_string() method for the headers in the message. This will be the same as:
$mess->headers->as_string
but it will make your program a whole character shorter :-)
All unknown "HTTP::Message" methods are delegated to the "HTTP::Headers" object that is part of every message. This allows convenient
access to these methods. Refer to HTTP::Headers for details of these methods:
$mess->header($field => $val);
$mess->push_header($field => $val);
$mess->init_header($field => $val);
$mess->remove_header($field);
$mess->scan(&doit);
$mess->date;
$mess->expires;
$mess->if_modified_since;
$mess->if_unmodified_since;
$mess->last_modified;
$mess->content_type;
$mess->content_encoding;
$mess->content_length;
$mess->content_language
$mess->title;
$mess->user_agent;
$mess->server;
$mess->from;
$mess->referer;
$mess->www_authenticate;
$mess->authorization;
$mess->proxy_authorization;
$mess->authorization_basic;
$mess->proxy_authorization_basic;
COPYRIGHT
Copyright 1995-2001 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
libwww-perl-5.65 2001-11-15 HTTP::Message(3)