BleepingComputer.com: Creating A Log-in Page With Xampp And Php

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Creating A Log-in Page With Xampp And Php

#16 User is offline   JUICYboy 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 516
  • Joined: 26-January 10
  • Gender:Male
  • Location:Anaheim, Ca

Posted 29 March 2011 - 08:34 PM

So do I type in the address bar:

localhost/name_of_file.php

Or should I open up the .html with the text fields? :busy:

#17 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,604
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 29 March 2011 - 09:06 PM

That is what I just said to do.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#18 User is offline   Blart576 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 5
  • Joined: 05-November 09

Posted 30 August 2011 - 03:20 PM

this is great stuff, guys, thank so much for sharing! This is indeed a budding request that is coming along more and more, now that websites are going beyond just displaying info and needing to be able to do so much more to create interaction with clients.

#19 User is offline   pikpok 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 1
  • Joined: 07-October 11

Posted 07 October 2011 - 07:42 AM

hello,
great tutorial!! but I have a problem its gives me an error:

Notice: Undefined index: realname in C:\xampp\htdocs\password_test\process_form.php on line 8

Notice: Undefined index: mypassword in C:\xampp\htdocs\password_test\process_form.php on line 9
qwerty:123456
qwerty
123456
That is not the correct log-in information.

lines 8 and 9 I copy from tutorial:
$name = $_POST['realname'];
$pass = $_POST['mypassword'];

thanx!

#20 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,604
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 07 October 2011 - 12:04 PM

I would have to see your code to help, and it should be in it's own topic. :) I know the code works as is, so my guess is that you have a typo in your code perhaps?
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#21 User is offline   lovelylaya 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 1
  • Joined: 18-November 11

Posted 18 November 2011 - 01:52 AM

Hi

I am newbie and tried everything but i am getting a plain page with the following for the initial instruction: http://localhost/password_test/

---------------
Index of /password_test

Parent Directory
index.php.txt
password.txt.txt
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 Server at localhost Port 80

Can someone tell me what is wrong??

Thank you
Laya

#22 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,604
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 18 November 2011 - 08:29 AM

Again, we would have to actually see your code. The link you provided is to a file that is local to your system; we can't see it. :)

My guess is that perhaps you didn't save it as an html file.

This post has been edited by groovicus: 18 November 2011 - 08:30 AM

"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users