• I know almost no PHP. However, I have an idea for a simple thing I’d like to add to my website. I’d like to have a little client login page. They would enter a 5 digit code, and then be redirected to a WordPress page based on the code. The codes and their corresponding pages could be stored in an array within a php document. I understand this isn’t very secure. It doesn’t need to be especially secure. If anyone could help me out with how the code would look, I’d really appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I know almost no PHP. However, I have an idea for a simple thing I’d like to add to my website. I’d like to have a little client login page. They would enter a 5 digit code, and then be redirected to a WordPress page based on the code. The codes and their corresponding pages could be stored in an array within a php document. I understand this isn’t very secure. It doesn’t need to be especially secure.

    if you dont know how to do it, than how do you know its a simple thing to do? (you dont store arrays within php documents, btw)

    If anyone could help me out with how the code would look, I’d really appreciate it

    http://wordpress.org/support/topic/217141?replies=11

    You would need a plugin to do this.

    This plugin might help you… http://wordpress.org/extend/plugins/sidebar-login/

    EDITED:

    Nwm Whooami’s link is better since it’s a tutorial.

    Thread Starter bendrucker

    (@bendrucker)

    Thank you whooami for the link to the tutorial. Although it’s a much more complicated system than I need, I am working on implementing it now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Question’ is closed to new replies.