7 Responses to A Register/Login Class

  1. John says:

    I get this error – “No input file specified.”

  2. papa_face says:

    What is the code you used?
    Please show me the line that you received the error on 🙂
    Have you made sure that you have included the class in the page?

  3. Mo says:

    Hi,

    Can you provide a sql file that I can use to set up the database please ??

    Thanks

  4. papa_face says:

    Yes no problem 🙂
    I used this SQL with this class. The level field denotes a regular user or a admin user. An admin user has a level 2, and a normal user has a level 1.

    CREATE TABLE `members` (
      `id` int(11) NOT NULL auto_increment,
      `username` varchar(255) NOT NULL,
      `password` varchar(32) NOT NULL,
      `email` varchar(255) NOT NULL,
      `level` int(1) NOT NULL default '1' COMMENT '1=normal 2=admin',
      PRIMARY KEY  (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    
  5. Micah says:

    I am trying to startup a web site where i would like to have a vip section. I assume this code is probably what im looking for. My problem is, i am VERY NEW to web design & all that stuff & i am unfamilliar with how to implement this into my existing webpages….i know it’s .php & it needs to be linked to the mysql database but because im so new @ this, i really dont know how to do any of that. Could you put up examples of how to imbed this into an existing basic webpage? I really dont know enough about it to do it & im running on a budget & a deadline! Thank you in advance for your help!

  6. papa_face says:

    Hello,
    I will try and put up a more detailed example of how to do this in the near future.

  7. Pingback: johnny

Leave a Reply