Menu

Create user accounts

Help
ikanku15
2007-06-29
2013-05-07
  • ikanku15

    ikanku15 - 2007-06-29

    hi, i try to use this myFtPhp and i found it quite user friendly.

    i have created new user account in $account array in myft.php and my user success to log in. but the problem here is, this way might be not flexible to be applied in large scale user. if there any way recommeded to solve this problem.

    i was thinking to link it with users table in mysql. is it possible? or there are other easier way to do it?

     
    • knittl

      knittl - 2007-07-01

      right about now i am rewriting the app. after that i'll try to add new features. i was already thinking about some "administrative privileges" or admin users. but that's not so easy as i first thought due to security restrictions.
      but after the rewrite it should be an easy thing to add support for mysql user tables or other ways to collect user data.

      regards

       
    • ikanku15

      ikanku15 - 2007-07-02

      hi knittl,

      thank you for your response. :) may i know when is the next release? :D

       
      • knittl

        knittl - 2007-07-02

        i _hope_ after my holidays. so in october. depends on my schedule ;)

        3600 lines of code are quite a bit to refactor and recode

        cheers

         
    • ikanku15

      ikanku15 - 2007-07-11

      waa.. it is quite a long time to wait.. anyway.. thanks ya! :D

       
      • knittl

        knittl - 2007-07-11

        i now, but i can only code in my spare time, and it's a big recode which takes time and much thinking.

        if you want me to, i can write a quick hack to fetch the users out of a mysql table. i  will send it to you the next few days.

        cheers

         
      • knittl

        knittl - 2007-07-11

        okay. you can download the patch in the download section under "Patches".
        tell me if there are any problems using or installing the patch.

        cheers

         
    • ikanku15

      ikanku15 - 2007-07-12

      hi knittl,

      i hv tried the patches already, as far as i know, i hv followed all the 'howtopatch' list.

      here is the output given when i run the myft.sgl.inst.php:
      --------
      SUCCESS setting up database structureERROR creating sample user
      does the table exist?

      You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES ( 'myftphp', md5( 'myftphp' ) , '.', 'english', 'light' )' at line 7
      -------

      the userLogin table is successfully being created in my database.
      line 7 point to my     'pass' => '',     //SQL password

      i didn't set any password for database user to grant access to the database.

      correct me if im wrong.

      thanks.

       
      • knittl

        knittl - 2007-07-12

        ok, my fault. typed _md5_ instead of _MD5_

        didn't think i will have a typo in this query... :-/

        i don't know your sql settings, but they should be okay.

        u can download the corrected version in the download section again.

        have fun and success,

        cheers

         
    • ikanku15

      ikanku15 - 2007-07-13

      hi knittl,

      i have already changed the md5 and i still got the same error. it seem like it cannot create the sample user into the table in the db. so i removed the creating sample coding from the the myft.sql.inst.php and i manually add the sample user into the table. still cannot use the username n password to login into the myftphp since myft.php still reading the $account array as the users.

      thanks.
       

       
    • ikanku15

      ikanku15 - 2007-07-13

      ok2.. i get it already.. silly me.. miss some part in your howtopatch notes..

      thank ya!!! :D

       
      • knittl

        knittl - 2007-07-13

        alright, u didn't put in the two lines of code :)

        so it works now, kool.

        cheers

         
    • ikanku15

      ikanku15 - 2007-07-16

      ya, it works now. thanks to you!!

       

Log in to post a comment.

MongoDB Logo MongoDB