Hi all,

I'm new to this ML as well as to php, so I have a problem that someone might
have a solution for.

What I have to do is to get mails from a mail-account and get them into a
flash-movie. The latter thing is not the problem, probably.

I downloaded the pop3-class from Manuel Lemos.

What I have problems with is the use of this pop3-class. I just uploaded
them to the server.
I thought there should come up an error-message, saying something like
"can't find the mail-account" or something like that. But what I got when I
run the script is an output like this:

->hostname="localhost";
 if(($error=$pop3_connection->Open())=="") {
Connected to the POP3 server $pop3_connection->hostname

  if(($error=$pop3_connection->Login($user,$password,$apop))=="") {

...

and so on. So what happens is that part of the php-code written in the
html-site is written to the screen.
It seems that the server is interpreting the php-script, though, as the
echo-commands are executed right. But the first line (starting with "->"
should be written to the screen, right?
Does anyone know what the problem could be? Thanks for any help on this
problem.


Greetings,

Stephan Hübner


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to