473,395 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

<form Tag in Perl CGI

Hi there

I'm creating an HTML page in Perl with the following Form tag

<form action='http://www.mydomain.co.uk/cgi-bin/script.cgi' method='post'>

When the form is posted the browser tries to look for

http://www.mydomain.co.uk/http://www...bin/script.cgi

Am I missing something. I've done this sort of scripting for ages and this
hasn't happened before. Am I missing something obvious.

TIA

J

Jul 24 '05 #1
9 2542
Always the way when you post to the Newsgroup, you find the answer in 10
minutes yourself !!

One too many </form> tags at the end of the HTML !!

J

Jul 24 '05 #2
On Mon, 11 Apr 2005, Julia De Silva wrote:
Always the way when you post to the Newsgroup, you find the answer
in 10 minutes yourself !!
I can happen even in the case of genuine problems, certainly.
One too many </form> tags at the end of the HTML !!


But that's frankly inexcusable. One should not resort to troubling
thousands of usenauts, when the problem could be resolved by an HTML
validator, or one of the other obvious routine "tools of the trade".

Make a resolution to install Chris Pedrick's "web developer's toolbar"
into Mozilla and/or Firefox, and get into the habit of using it.
Specifically for this context: its links to HTML validator and CSS
checker. I predict that you won't regret it.
Jul 24 '05 #3
On Mon, 11 Apr 2005 14:43:42 +0100, "Alan J. Flavell"
<fl*****@ph.gla.ac.uk> wrote:
Make a resolution to install Chris Pedrick's "web developer's toolbar"
into Mozilla and/or Firefox, and get into the habit of using it.
Specifically for this context: its links to HTML validator and CSS
checker. I predict that you won't regret it.


Just to add to this: I find that the HTML Validator (based on Tidy)
extension enhances the Web Developer Toolbar in that it gives instant
HTML validation.

Jul 24 '05 #4
Fred Banaszak <fr**********@earthlink.invalid> wrote:
Just to add to this: I find that the HTML Validator (based on Tidy)
extension enhances the Web Developer Toolbar in that it gives instant
HTML validation.


Tidy is a linter, not a validator.

--
Spartanicus
Jul 24 '05 #5
On Mon, 11 Apr 2005 17:07:27 GMT, Spartanicus
<in*****@invalid.invalid> wrote:
Fred Banaszak <fr**********@earthlink.invalid> wrote:
Just to add to this: I find that the HTML Validator (based on Tidy)
extension enhances the Web Developer Toolbar in that it gives instant
HTML validation.


Tidy is a linter, not a validator.


Yes, quite. Which, to my mind, does not negate its usefulness. And
which is also why I said in addition to rather than in place of.
Jul 24 '05 #6
Fred Banaszak <fr**********@earthlink.invalid> wrote:
Tidy is a linter, not a validator.


Yes, quite. Which, to my mind, does not negate its usefulness.


Tidy may have some useful purpose such as cleaning up MS Word "HTML".

It also removes code indenting and it inserts blank lines making the
code hard to read. It insists on removing empty elements used for
styling with no option to prevent that from happening.

Makes it considerably worse than useless imo, YMMV.

--
Spartanicus
Jul 24 '05 #7
On Mon, Apr 11, Fred Banaszak inscribed on the eternal scroll:
Just to add to this: I find that the HTML Validator (based on Tidy)
extension enhances the Web Developer Toolbar in that it gives instant
HTML validation.


Would you care to reword that? The HTML validator itself gives "HTML
validation", and does (modulo a few marginal notes) a pretty good job
of it. "Tidy" is a useful linter, in its way, but it doesn't have any
direct relevance to "validation" - in the technical sense in which
SGML or XML use that term.

--
Procrastination gives you something to look forward
to putting off tomorrow. -spotted on ahbou
Jul 24 '05 #8
On Mon, 11 Apr 2005 22:02:55 GMT, Spartanicus
<in*****@invalid.invalid> wrote:
Makes it considerably worse than useless imo, YMMV.


Obviously it does.
Jul 24 '05 #9
On Tue, 12 Apr 2005 02:46:32 +0200, "Alan J. Flavell"
<fl*****@physics.gla.ac.uk> wrote:
Would you care to reword that?


Frankly, no. It's just not worth the effort.

Jul 24 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: scrunchy2k | last post by:
Hi, I was just curious how a PHP script in a webpage receives the parameters that I send to it in a form tag. It's a stupid question I suppose, but my impression is that, by comparison, in Perl...
2
by: Keiron Waites | last post by:
I have the following code: <input type="text" name="search" class="search_top"> <a href="" onclick="window.location='search.inc.php'+document..search. value; return false;"...
3
by: Ben | last post by:
Here's my form: <form name="aForm" method='post'> <input type=file name=file1 onkeypress='KeyPress()'><br> <a id='attachMoreLink' href='javascript:AddFileInput()">Attach More Files </a> <input...
4
by: Howard Jess | last post by:
In Opera 8.01 (Linux; Build 1204) and in Opera 7.54 (Windows XP; Build 3865), my form disappears from the HTML markup (below). To summarize: 1) In a <script> block in the <head> I create a form...
10
by: Phlip | last post by:
HTMListas: (Apologies for I can't Google for this - too many common words.) I have a <form> tag. It thinks I want a <p> break before and after the form. I don't. (My forms are sneaky and...
6
by: snacktime | last post by:
I've searched and searched and have not found a solution to suppress the margin on form or href tags so that there is no space before or after the tag. The only way I have found to do this is to...
4
by: rob c | last post by:
This is a minor thing and only appears in IE (so far), but I'd like to know to correct it (if possible). Whenever I use a form on a webpage, Explorer always leaves a blank line following the...
1
by: mark4asp | last post by:
<form runat="server"automatically adds <divtag to code contained within. Is there a way to stop that? Mixing block-level elements with inline-level elements messes up the HTML becasuse that is...
10
by: neverquit | last post by:
hi , Iam Nagesh,Begineer in using Ajax,well i have been using ajax in application, i have faced a problem while placing the responseTEXT into the <div> tag positioned inside the <form> tag iam...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.