Jump to content


Photo

sessions: mysql and pop3


  • Please log in to reply
2 replies to this topic

#1 quasiman

quasiman
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts
  • LocationPortland, Oregon

Posted 10 May 2006 - 11:19 PM

I have a php/mysql login system in use, and I'd like to add a simple pop3 client for my users. So when an account is created through the current scripts, they're also given a pop3 account (Curl to Cpanel via doaddpop), then able to read email while logged in.

My problem is that a users login session is set with their username, and when going to check email they need to use the full email address as a login.

How can I append the domain name to the users session without killing it?

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 11 May 2006 - 12:01 AM

Maybe you need to be more specific?
$useremail = $_SESSION['username']."@domain.com";


#3 quasiman

quasiman
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts
  • LocationPortland, Oregon

Posted 11 May 2006 - 06:31 AM

yeah, that's what I've been trying but it's not passing the logged in status between the two....there's probably one little line where I accidently named the session incorrectly.

Thanks for the suggestion.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users