d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Html Form > Post Method
Add Reply New Topic New Poll
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Mar 31 2013 05:21am
code:
Code
<form method="post" action="home" ...

what does "home" mean?
usually there is a url, to which the post data will be sent. but now i got this webpage, where in action there is only a "home". does that mean that the data is sent to the same address as i am on atm? or will the data be sent to www.theurl.com/home ?

nvm, its as i thought: "www.theurl.com/home"

This post was edited by Richter on Mar 31 2013 05:46am
Member
Posts: 13,630
Joined: Dec 4 2009
Gold: 0.00
Mar 31 2013 03:03pm
Quote (Richter @ Mar 31 2013 04:21am)
code:
Code
<form method="post" action="home" ...

what does "home" mean?
usually there is a url, to which the post data will be sent. but now i got this webpage, where in action there is only a "home". does that mean that the data is sent to the same address as i am on atm? or will the data be sent to www.theurl.com/home ?

nvm, its as i thought: "www.theurl.com/home"


uh there should be a file extension on that or a URL of some sort. it just runs the script correlated with the supplied URL.
Member
Posts: 57
Joined: Apr 1 2013
Gold: 276.00
Warn: 10%
Apr 1 2013 01:26am
Sent to currenturl/home
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll