General discussion

Locked

PHP form info

By Elomis ·
Im trying to pull the info out of a form, login style for authentication without using headers.
Thing is, I'm using $_POST["username"] and $_POST["password"] to reference form fields and getting "Undefined Index" from them, where and how do I initialise this and how do I pass it to PHP? Keep in mind I am a beginner at PHP :-*

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

PHP form info

by wim In reply to PHP form info

You could do it this way, but using session-variables are a better way to do the autentication.
http://www.phpdeveloper.org/view_tut.php?id=31


You could also use HTTP authentication -->
http://hotwired.lycos.com/webmonkey/00/05/index2a.htmlhttp://www.perl-studio.com/php/

Collapse -

PHP form info

by Elomis In reply to PHP form info

Yeah that's good, thanks

Collapse -

PHP form info

by Elomis In reply to PHP form info

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums