Hi there,

I get an error about a T_Variable here:

print_r $messg_list;

(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 :-)


> 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

Reply via email to