1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Questions/need help with finding a client portal.

Discussion in 'PHP & Perl' started by jolleman, Feb 27, 2012.

  1. jolleman

    jolleman Newbie

    Joined:
    Feb 11, 2012
    Messages:
    7
    Likes Received:
    1
    Hi guys!


    Im new to this forums and so far i have enjoyed reading the forums.
    But now when im starting to learn php and mysql i have come in to some issues/questions.

    Is it possible to create a some kind of client portal that creates a folder with the users name and an empty index.php, and to access this folder they have to write in their user and pass. Any help would be appreciated:)


    Regards Joel


    PS: sorry for my terrible spelling and grammatics. English isnt my native language,
     
  2. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,147
    • Thanks Thanks x 1
  3. hypefrenzy

    hypefrenzy Junior Member

    Joined:
    Dec 12, 2011
    Messages:
    170
    Likes Received:
    19
    the beauty of php/mysql is you do not have to actually create directories/files which can become hard to manage in the long run. there are also errors that can occur when modifying the filesystem that will require human interaction to resolve.

    i recommend researching more on how to serve dynamically created pages from data retrieved from your database. you can even handle the authentication via php/mysql as well.

    if you still wish to move forward with a directory structure the built in filesystem functions for php will help create and manage directories and files. i cannot post links just yet but you can find all the info you need by searching for "filesystem" on the php documentation website
     
    • Thanks Thanks x 1
  4. jolleman

    jolleman Newbie

    Joined:
    Feb 11, 2012
    Messages:
    7
    Likes Received:
    1
    Thank you guys!

    Please lock this thread:)