Skip to main content
gamedev.net
🔒 Locked

PHP question, umm, heh

Started by n0ob 2 replies 300+ views
Original Post
n0ob
n0ob
Sry, didn''t know where there was a php section.... I just installed php for my Abyss web server.. the latest version and all. I have a php script (i dont'' know php lol) but this fails: $pword = $_POST[''password'']; where password is an input for example. it says that password is undeclared index. The input is declared an created with the appropriate name, but for some reason the auto globals are working.. Any tips or help are useful!
DigitalChaos
DigitalChaos
This should be in 'General Programming'

is the name of the text box where the password is entered named 'password'? that might be your problem.

It should be named 'password'

I think...

[edited by - DigitalChaos on June 8, 2004 10:07:37 PM]
09x2
09x2
Make sure the name of it is password, and not Password.
Second, make sure you are sending the data through POST, and not through GET.
Third if that doesn’t work, do <?php phpinfo(); ?>.
If that fails, PHP is not correctly installed.

Edit: HTML Brackets.

/-09x2

[edited by - 09x2 on June 8, 2004 11:07:37 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.