Re: Pop3?

From: Date: Mon, 22 Sep 2003 20:04:06 +0000
Subject: Re: Pop3?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-30632@lists.php.net to get a copy of this message
Hi there, I get an error about a T_Variable here: $messg_list=pop3_list($id); print_r $messg_list; pop3_quit($id); (The print_r line). If I change $messg_list to $id on the print_r line, it doesn't give me that error by rather the ID Number, but I try with the $messg_list I get a T_Variable error, any ideas? BTW, I haven't touched your functions so they are the same as you sent to the list, I just changed the details for my pop3 server which logs in fine as if I put in a wrong password it knows it's wrong :-) Chris > On Sunday, September 21, 2003, at 11:58 PM, Chris Payne wrote: > > > Hi there, > > > > Thanks for that, very appreciated, just one question? Without meaning > > to > > sound dumb (Which I probably will) how do I call your function? I > > don't > > usually deal with functions, I know I need to start though ......... > > > > Chris > > > Don't have time to test but this is the idea: > <?php > require_once('pop3_fcn.php'); > > $id=open_pop3("server","110","username","passwd"); > > $messg_list=pop3_list($id); > print_r $messg_list; > pop3_quit($id); > ?> > > Andu >

« previous php.db (#30632) next »