UBB.Dev
Posted By: anderzzo Aaaahhh need help! URGENT! - 04/18/2001 3:41 PM
I've managed to integrate the rgistration of ubb with my own registration page but now I got a BIG problem!

How to update profile!
When someone update their profile on my site this happens:

The information is submited to my MySQL membersDB then the information get send to another DB and after that it should go to the UBB profile.

But I use the Username to find the user and UBB the Usernumber, and I don't even have the usernumber! If I can retrive this number somehow it'll all work, but how can I retrive it? From the cookies(everyone is logged in, otherwise they can't change their profile)?

The code looks like this:
Code
code:

The problem is on this row:
Code
code:

I need to change "00002305" to the guests membernumber! Can I save it in a session from the login or retrive it from a cookie?

I really need help with this
PLEASE
Posted By: amykhar Re: Aaaahhh need help! URGENT! - 04/19/2001 12:59 AM
You can grab it from the cookie. I believe it is the 4th entry in the ubber cookie.

Amy
Posted By: anderzzo Re: Aaaahhh need help! URGENT! - 04/19/2001 1:43 AM
Thanx, but how?
Posted By: anderzzo Re: Aaaahhh need help! URGENT! - 04/19/2001 12:03 PM
anyone?
© UBB.Developers