Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7

Thread: Chat Box

  1. #1
    Rin
    Rin is offline
    Junior Member
    Join Date
    Mar 2003
    Location
    UK
    Posts
    8
    Member #
    797
    Okay, I have this Chat Box Program, Oxyshout...

    Anyway, I'm trying to work out how to have a simple password box, so that when certain people with a password, type in there password. depending on what the password is, I would like to have a certain Icon to appear by the persons name. If you know what I mean.

    Does anyone know how I could do this?

  2.  

  3. #2
    Member
    Join Date
    Apr 2003
    Posts
    34
    Member #
    1102
    have the icon be the same as the password then when you post the image have it be... ./img/icons/$pass.gif..
    http://www.huanderson.com
    http://www.huanderson.com/portfolio/

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Beware that that will only work for mostly alphanumeric passwords, though.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Member
    Join Date
    Apr 2003
    Posts
    34
    Member #
    1102
    md5() the password

    if it doesnt work try this...

    echo "<img src=./img/icons/".$password.".gif >";

    filburt wht do you mean it would only work on alphanumeric passwwords?
    http://www.huanderson.com
    http://www.huanderson.com/portfolio/

  6. #5
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Passwords like "my/password" will reference directories, "my password" will make filenames with spaces, "my+password" will load the file "my password.gif" instead, etc.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  7. #6
    Member
    Join Date
    Apr 2003
    Posts
    34
    Member #
    1102
    yeah, i knew that.... i just assumed that some boundries would be setup to stop the creation of passwords likethat. but yeah, i know what you're saying now.
    http://www.huanderson.com
    http://www.huanderson.com/portfolio/

  8. #7
    Junior Member
    Join Date
    Apr 2003
    Posts
    1
    Member #
    1133
    What's the official Oxyshout site?


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:39 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com