Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [PHP] Profile section help

    I'm currently making a XML Social Website as a project for school for my Final Exams which are in 1/2weeks.

    (No Design, Only development needed)

    These are the requirements:
    *Login/Registration System [Done]
    *Upload Profile Picture []
    *Edit Profile Information (Email, Password, Name) [Done]

    The next thing I need is a profile page (Example: profile.php?id=Laim)

    However I've never done that before.. Even if it was when they signed up it generated a file for their profile which people could view (Laim.php/Jim.php etc)

    Can anyone help me with this?


    -Laim

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,495
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    A profile page is not a PHP script, and it should not be a PHP script for each person.

    Everyone uses the same PHP script to display their profile ...
    Their profiles are stored in a database of some kind (MySQLi, or plain text/not secure).

    Does your webhost or server allow PHP and MySQLi?

    And what kind of class is it?


  •  

    Posting Permissions

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