473,547 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Send" button

Sorry for a very stupid question. Can you tell me what does the
following html source does if I press button "Send"? If I read this
code by Netscaspe from my local file system and then press "Send", I
see in my browser directory where the considered html source is
located. If I publish the given html source, open published page and
again press "Send" nothing changes... What I want to do, is to know
what choice did people who were visiting my published page.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>index</title>
</HEAD>
<BODY
style="backgrou nd-image:
url(file:///opt/kde3/share/wallpapers/gold_crinkle.jp g);">
<FORM METHOD="GET" ACTION=".">
<P> <INPUT TYPE="TEXT" NAME="TFIELD" VALUE="Fiels" >
<P> Yes <INPUT TYPE="CHECKBOX" NAME="CHEKBOX" CHECKED>
<P> 1 <INPUT TYPE="RADIO" NAME="RADIO" VALUE="R1" >
<P> 2 <INPUT TYPE="RADIO" NAME="RADIO" VALUE="R2" CHECKED>
<P> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Send" CHECKED>
<P> <INPUT TYPE="RESET" NAME="RESET" VALUE="Reset" CHECKED>
<P>
</FORM>
</BODY>
</HTML>
Jul 20 '05 #1
3 7194
On Wed, 12 May 2004 01:41:08 -0700, Kurda Yon wrote:
Sorry for a very stupid question. Can you tell me what does the
following html source does if I press button "Send"? .... <FORM METHOD="GET" ACTION="."> .... ^^^^^^^^^^ <P> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Send" CHECKED>

.... ^^^^^^

The form action parameter contains a URL of a form handler -- a
server-side resource that will process the form data. In the case of a
local file, there is no server; because the form is a "GET" form, the
constructed URL of the handler is (incorrectly) the filesystem directory
containing the file (with the form parameters appended in a standard
format).

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.

Jul 20 '05 #2
> > Sorry for a very stupid question. Can you tell me what does the
following html source does if I press button "Send"? <FORM METHOD="GET" ACTION=".">

... ^^^^^^^^^^
<P> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Send" CHECKED>

... ^^^^^^
The form action parameter contains a URL of a form handler -- a
server-side resource that will process the form data.


Ok. But what I do not understand is a general idea :). I understood
that after pressing "Send-button" server-side resource will process
the form data. But where I need to put program which will process this
forma data, and where is the forma data which I need to process after
some user pressed "Send button".
Thank you.
Jul 20 '05 #3

"Kurda Yon" <ku******@yahoo .com> wrote in message
news:f8******** *************** ***@posting.goo gle.com...
Sorry for a very stupid question. Can you tell me what does the
following html source does if I press button "Send"? <FORM METHOD="GET" ACTION=".">

... ^^^^^^^^^^
<P> <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Send" CHECKED>

... ^^^^^^
The form action parameter contains a URL of a form handler -- a
server-side resource that will process the form data.


Ok. But what I do not understand is a general idea :). I understood
that after pressing "Send-button" server-side resource will process
the form data. But where I need to put program which will process this
forma data, and where is the forma data which I need to process after
some user pressed "Send button".


If the program already exists, then it must already be written in the way
necessary to access the form data, and all you have to worry about is where
to put the program file--which is at the location indicated by the ACTION
attribute.

If the program doesn't even exist yet, then your question is like, "I want
to create a web page. Can you tell me how?" The answer to that question
would be, "Go take an HTML course." *You* need to go take a course in some
server-side web processing technology, whether it's ASP or JSP or PHP or CGI
or something else.

Jul 20 '05 #4

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

Similar topics

3
3337
by: Erik T. Nomad | last post by:
I've created a link that will enable the reader of any page on my website to click it, enter an e-mail address, and have it arrive in that inbox with a hyperlink to the site. However, I'm wondering if there's a way to customize it further, such that the hyperlink they are sent is the web address of the page the "send to friend" link was on. ...
3
2277
by: Jason Steeves | last post by:
I need to replicate the code that is found in Internet Explorer File->send page by e-mail. Can someone tell me how to replicate this code or just call this function. I need to program it to be activated by a button on my .aspx page......Thanks, Jason
2
6244
by: Gary | last post by:
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)"); This is not working ..what could be the reason..? Situation: I have a menu in my form, which is given a short key "Ctrl+P", now when the
6
31011
by: Gary | last post by:
Hi, I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)") This is not working ..what could be the reason..?
15
8576
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows Explorer? I want the user to click a button and it lunch the users default email client and put the contents of a multi line text box in the body...
0
1026
by: Monty | last post by:
Does anyone else have the following 2 problems? 1. I have placed a button (but it could just as easily be a textbox or an image over a panel and set the format of the button to Order/Bring to front. While working is design view it will for some reason just be "sent to back". 2. Sometimes, after designing for over an hour or so, I notice that...
2
6942
by: wpollans | last post by:
Hello, I need to able to write JS that will click on a link with the middle mouse button - so that the link target will open in a new window or tab - using firefox. Or is there a better (more reliable) way to have the link open in a new window/tab (using JS)? I have no control over the JS already on the page - this is for a selenium user...
10
2262
by: Rob | last post by:
For example, how could you programatically "click" on a button in a Form ?
0
7435
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7698
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7794
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5361
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3492
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.