I'm trying to write a login script for my web site. I have a form the looks
like this:
<h4>User Login</h4>
<form action="" method="post" name="login" style="text-align:right;
padding-top:20px;"
Email address:
<input name="email_add ress" type="text" size="30" maxlength="100"/><br />
Password:
<input name="password" type="password" size="30" maxlength="10"> <br />
<input name="Login" type="submit" value="Login">
</form>
Then I want to return whatever the user entered in the form to variables
like this:
$username = $HTTP_POST_VARS['username'];
$password = $HTTP_POST_VARS['password'];
Why don't I get a value for $password?
Is there some other variable that 'password' is stored in? Why? Does HTTP
do this so it's more secure? How?
Thanks in advance. 3 1341
Gazing into my crystal ball I observed "deko" <de**@hotmail.c om> writing
in news:lh******** **********@news svr13.news.prod igy.com: I'm trying to write a login script for my web site. I have a form the looks like this:
<h4>User Login</h4> <form action="" method="post" name="login" style="text-align:right; padding-top:20px;" Email address: <input name="email_add ress" type="text" size="30" maxlength="100"/><br /> Password: <input name="password" type="password" size="30" maxlength="10"> <br /> <input name="Login" type="submit" value="Login"> </form>
Then I want to return whatever the user entered in the form to variables like this:
$username = $HTTP_POST_VARS['username']; $password = $HTTP_POST_VARS['password'];
Why don't I get a value for $password?
Is there some other variable that 'password' is stored in? Why? Does HTTP do this so it's more secure? How?
Thanks in advance.
Possibly because you are mixing HTML and XHTML, and possibly because you do
not have an end tag for the form element. Take a look at http://www.intraproducts.com/beta/requiredform.asp for some tips about
presentation of forms (you can convert to PHP easily).
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share
"Adrienne" <ar********@sbc global.net> wrote in message
news:Xn******** *************** *****@207.115.6 3.158...
[snip] Possibly because you are mixing HTML and XHTML, and possibly because you
do not have an end tag for the form element. Take a look at http://www.intraproducts.com/beta/requiredform.asp for some tips about presentation of forms (you can convert to PHP easily).
-- Adrienne Boswell
OT: The home page of your intraproducts site has problems in IE6, if I set
the font size bigger than "smaller" in my browser some of the navigation
cells on the left of the page break and when the size is set to "medium" or
above the email text at the top right of the page becomes obscured. I hope
you don't mind that I mentioned this.
Signed,
me
Gazing into my crystal ball I observed "me" <anonymous@_.co m> writing in
news:11******** *****@corp.supe rnews.com: "Adrienne" <ar********@sbc global.net> wrote in message news:Xn******** *************** *****@207.115.6 3.158... [snip] Possibly because you are mixing HTML and XHTML, and possibly because you do not have an end tag for the form element. Take a look at http://www.intraproducts.com/beta/requiredform.asp for some tips about presentation of forms (you can convert to PHP easily).
-- Adrienne Boswell
OT: The home page of your intraproducts site has problems in IE6, if I set the font size bigger than "smaller" in my browser some of the navigation cells on the left of the page break and when the size is set to "medium" or above the email text at the top right of the page becomes obscured. I hope you don't mind that I mentioned this. Signed, me
Don't mind at all. That site is due for an overhaul anyway. Thanks for
the heads up.
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ian N |
last post by:
Hi,
I'm creating a site that posts orders to an email address when they're
submitted, these orders need to be in the form of official invoices so
i'm using HTML to format them.
I already have a shopping basket system which adds all of the totals
up and puts them into a nice looking invoice.
What's the best way to take this HTML and put it into an email?
|
by: Peter Kaptein |
last post by:
In some applications you see a HTML page in the Web-browser call a DLL
instead of a .asp page.
The result is HTML presented in the browser.
I have seen this working for stand-alone apps as well (Internet Explorer
does the same)
== Questions
1) How does this work?
2) How do I set up the VB code inside the DLL to recieve and handle the
|
by: yawnmoth |
last post by:
i've seen a few html forms, whose textarea's have text in them, and
which reset when you click in that textarea... how can i do this?
also, say my form has two different variables (namse, or whatever),
but that these variables aren't supposed to be passed together. ie. i
only want x=something or y=something, but not
x=something&y=something... how would i do this, without creating a
whole new form (which seems to, atleast in ie, create...
|
by: Mel |
last post by:
Are we going backwards ? (please excuse my spelling...)
In my opinion an absolute YES !
Take a look at what we are doing ! we create TAGS, things like <H1> etc.
and although there are tools (dreamweaver and the like), they are all at the
lowest level of programming (something like assembly as oposed to C++ etc.).
These tools create "brain-dead" developers that constantly have to plough
through tons of tags to do the simplest thing.
...
|
by: fraser |
last post by:
Hi,
I have a photo gallery with cat photos here http://mouserspage.cjb.net
From the beginning, I have been making each page of thumbnails, with a
separate page for each photo, entirely in plain html. Since the number
of photos I have has increased greatly, it becomes a long and tedious
process to go through all the pages to edit the links (to newly added
pages) and add in the new pages etc...
| |
by: Luke |
last post by:
Elements with name attribute:
form, input, textarea, a, frame, iframe, button, select, map, meta,
applet, object, param, img (if you know more reply...)
Methods of addresing html elements:
<form name="myform">
<input name="myinput" />
</form>
1. var input = document.forms.myform.myinput;//from nn3+
2. var input = document.forms.myinput;//from nn3+
|
by: Anonieko Ramos |
last post by:
ASP.NET Forms Authentication Best Practices
Dr. Dobb's Journal February 2004
Protecting user information is critical
By Douglas Reilly
Douglas is the author of Designing Microsoft ASP.NET Applications and
owner of Access Microsystems. Doug can be reached at
doug@accessmicrosystems.com.
--------------------------------------------------------------------------------
|
by: jello_world |
last post by:
I am a VB6 programmer and I know how to build console apps.. I just
dont understand how to get my mind around WinForms; they just seem a
lot more complex than VB6.
Thanks
-Charlie
|
by: leorou |
last post by:
Hello. I would like to know the basics of populating a html form from
fields in a db. I have data in a db that i would like to modify
through a html form. How can i load the db data into the html form and
then take the changes? Thanks in advance, best group ever!
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |