Parse error while using imap_open
Posted: Mon Dec 04, 2006 6:39 am
I'm created a small webmail system that allows me to login to a mailbox and retrieve e-mail messages. The following line is giving me a parse error of:
Could somebody point out an error with that please?
The login details are submitted to PHP through a form.
Stephen,
while indicates a problem with this line:PHP Parse error: syntax error, unexpected ':', expecting '}' in /var/www/html/php/test/email.php on line 15
Code: Select all
$mbox = imap_open("{$server:110/pop3}INBOX", "$username", "$password");The login details are submitted to PHP through a form.
Stephen,