On Mon, 22 Sep 2003 16:04:06 -0400 "Chris Payne" <chris@planetoxygene.com> wrote: > Hi there, > > I get an error about a T_Variable here: > > $messg_list=pop3_list($id); > print_r $messg_list; print_r($messg_list); > pop3_quit($id); My mistake but you can't really use php without learning it. Having looked up print_r in the manual you would've noticed what was missing. The danger here is that if you don't do your part you will prove those who just answer RTFM right. > > (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 > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > ____ Regards, Andu Novac -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php