Results 1 to 3 of 3

Thread: PHP help (I'm not a programmer)

  1. #1
    Join Date
    Nov 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question PHP help (I'm not a programmer)

    I'm about ready to launch my site but I need a simple script (Simple to PHP programmers) to let members change their profile settings, display name, email and password. There is no profile page so I'm going to put this in popup form in thickbox. Any help would be greatly appreciated.

    $db_settings = array();
    $db_settings['host'] = 'localhost'; // mysql database host
    $db_settings['user'] = 'mysql_database_username'; // mysql database username
    $db_settings['password'] = 'database_password'; // mysql database password
    $db_settings['name'] = 'database_name'; // mysql database name

    Users table
    user_id
    Members can edit:
    name
    pass (not incripted)
    email

    New display name (name)

    Old Password
    New Password
    Re-type New Password

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    This is something that's "simple" only in the sense that the desired functionality is fairly straightforward. The coding is not excessively complex, either, but it is very involved.

    You'll need a lot of functions to connect and interface with the database, handle the user profile page, validate and perform all the various actions, handle errors and security issues, and so forth - and, they all have to integrate with each other and the rest of the site.

    It is quite a bit of work. If the software you're using for your site doesn't include anything that could handle this, it would definitely be worth your while to look into hiring a programmer to handle it.

  3. #3
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,109
    Thanks
    96
    Thanked 98 Times in 96 Posts

    Default

    Sounds like he needs a fair amount of javascript as well. Why not use a form within the user control panel to make the changes? The user control panel being the one that you have created for the users. That would not be all that involved. I know very little javascript though, so I am not sure what the difference in difficulty is between the two.
    To choose the lesser of two evils is still to choose evil. My personal site

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •