View Single Post
Old 13.05.2004, 10:25   #1 (permalink)
woodie63
Baby Mamber
 
woodie63's Avatar
 
Join Date: May 2004
Posts: 14
woodie63 is on a distinguished road
Question use session user and password in url (php noob)

Hi, I would like to pass the following vaiables in a url to access an @mail account:

the logged in Mambo username, password and the Mambo site name

the @mail docs suggest that the following url syntax will work:

http://atmail.nl/atmail.pl?username=username&password=password&pop3 host=domain.com&LoginType=xp&Language=english

so this is my effort at using the mambo variables:

http://atmail.nl/atmail.pl?username=<?php echo $my->username;?>&password=<?php echo $pass;?>&pop3host=<?php echo $mosConfig_sitename; ?>&LoginType=xp&Language=english

OK, I've probably done something dumb because I don't really understand php that well.................

please could someone tell me what I'm doing wrong?

thanks

Peter
woodie63 is offline   Reply With Quote
Sponsored Links