Results 1 to 5 of 5

Thread: CCBill Question About Member Usernames..

  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635

    CCBill Question About Member Usernames..

    Does anyone know if it is possible to parse the username of a member in to the actual sites HTML code so it displays a message like..

    'Welcome $member'

    Where $member would display the surfers chosen username?

    Regards,

    Lee


  2. #2
    CorbinFisher.com CorbinFisher_BD's Avatar
    Join Date
    Oct 2005
    Location
    FL
    Posts
    837
    I do that with one of my sites but not really just through HTML. It pulls the value (membername) from when they login. So doesn't necessarily involve CCBill much, as the authentication with the password file is seperate from us pullin that value to display in the header of the site for the member to see.

    CorbinFisher's Amateur College Men


  3. #3
    voted best dresser
    Join Date
    Nov 2004
    Posts
    80
    Hello Lee,

    I am not exactly sure how this has to do with your CCBill setup, but I can tell you how to gather the members data on your back end after the sale if that is what you are looking for.

    Feel free to hit me up if you any further questions.

    paulk@ccbill.com
    i c q 248615940

    -Paul


  4. #4
    JustMe
    Guest
    Hey Lee.

    This can be done VERY easily with PHP, by calling on a standard server-side variable called "REMOTE_USER". It basically reads the username variable being supplied to the webserver by the client when in any given protected realm:

    $username = $_SERVER['REMOTE_USER'];

    Hope that helps.


  5. #5
    On the other hand.... You have different fingers
    Join Date
    Feb 2004
    Location
    San Francisco
    Posts
    3,548
    Another option, depending on what you're trying to accomplish, is to have a front end that captures whatever info you want to use to personalize, and then just pass the user/pass to the ccbill join page. That way, you have their username, preferred nickname (if you want to collect it and they want to give it) and email or whatever, and then when they login, your local database will have whatever personal info you've collected, tied to the ccbill username.

    This requires programming the frontend in php or perl or something, but that's a fairly minimal task.


Posting Permissions

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