+ Reply to Thread
Results 1 to 8 of 8

Thread: User Page

  1. #1
    rs.top is offline x10Hosting Member rs.top is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    52

    User Page

    On my site i am looking for a way to make a page for other admins to see information for each user. I am wondering if there is a way to make it so it doesn't take up disk space. Is there a way to do this in the SQL but where any admin on my site can get to it?

  2. #2
    quantum1's Avatar
    quantum1 is offline x10Hosting Member quantum1 is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    near Nashville, TN
    Posts
    68

    Re: User Page

    If the user information is already in a database you just need a web page that runs a query based on optional input from a form. I am not sure what you mean by not taking up any disk space. If you give more information about your situation and what your are trying to do then we can give a better answer.
    Two rules of development:
    1) Computers work for people; People do not work for computers
    2) Maintainability is all that matters.

  3. #3
    AttackBunnyPro is offline x10Hosting Member AttackBunnyPro is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    26

    Re: User Page

    Just use GET variables with a database. Have a url of something like www.url.com/userlookup.php?username=bob . Collect the variable, and use that to retrieve the data from php. Add a single line of code that checks whether or not they are logged in as an admin. If you need more help, just ask!

  4. #4
    rs.top is offline x10Hosting Member rs.top is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    52

    Re: User Page

    well what i mean is not taking up any of my sites disk space. No information what so ever is in a data base, I do not have an admin login form and have no idea how to set one up. I think i might like your idea Attack if it doesn't take any space.......

  5. #5
    xmakina's Avatar
    xmakina is offline x10 Lieutenant xmakina is an unknown quantity at this point
    Join Date
    May 2008
    Location
    England
    Posts
    265

    Re: User Page

    Er... what? You can't have a page without, well, having a page. And you certainly can't have users without storing their information in a database.

    You don't have anything and you don't want to make anything yet you do want something. It's not so much your web expertise as your grip on reality I question...
    IF($this->$post.content() == "SEE SIG"){
    w3Schools and Google
    }

  6. #6
    Salvatos's Avatar
    Salvatos is offline x10 Lieutenant Salvatos is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    Québec, Canada
    Posts
    271

    Re: User Page

    *lols*

    I have to agree you probably won't be able to set admin rights or any user information at all without a database. And whatever you put on your website will always take disk space as you actually need somewhere to write your code if you want the site to do... anything.

  7. #7
    AttackBunnyPro is offline x10Hosting Member AttackBunnyPro is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    26

    Re: User Page

    Using a database is by far the most efficient way to do this. Here's what I recommend doing:
    Database:
    1) Create a database
    2) Assign a user to it
    3) Create a table that will store all users, indicating somewhere whether or not they are an administrator

    Web-end:
    1) Create a form and a way for them to register/login
    2) Have them insert whatever data it is you need when they register
    3) Create a form processing page that will insert their information into your SQL table
    4) Create a page for administrators to add new administrators
    5) Create a page for administrators to view user info, using a get variable and a url to associate a user with the page
    6) Make sure that when the variable doesn't exist, a user list pops up
    7) Use the get variable and retrieve data from the database
    Display the data

    Using PHP and MySQL this is quite possible. If you need more help, just say so.

  8. #8
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: User Page

    Hmm - yet another no answer to all your efforts - this is why I don't try half the time!! lol

+ Reply to Thread

Similar Threads

  1. samba server issue
    By hopper in forum Computers & Technology
    Replies: 2
    Last Post: 04-13-2008, 10:59 PM
  2. Replies: 4
    Last Post: 02-20-2008, 06:13 AM
  3. php next page error
    By nahsorhseda in forum Free Hosting
    Replies: 5
    Last Post: 11-25-2007, 05:40 AM
  4. Urgent help please!
    By retro-bliss in forum Free Hosting
    Replies: 2
    Last Post: 10-25-2007, 03:24 PM
  5. Blank page...?
    By DecemberGuild in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 11-24-2006, 01:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers