Bizzare IMAP - PHP problem
Posted: Sat Nov 19, 2005 8:13 pm
Alright guys, I've been faced with a bizzare PHP problem for a couple days now.
A few days ago I was learning about imap functions to send my e-mail to a php script. I was able to connect and read e-mails using a simple script I made. However, the next day not only did the script no longer work, it told me it didn't exist. I'll click on the file on my server, and in Firefox it doesn't load and in IE it says that "The page does not exist" error or whatever.
So I created more, and more scripts, each different, simple, but they all should have worked. They all get teh same problem. However, if I take the imap functions out, they will load and work.
I know imap is installed because I created a function that checked it.
here is a very very simple imap_open script, but it wont aknowledge its existance.
See for yourself:
http://www.mplionhearts.com/phptesting/imaptest5.php
you can then go back to
http://www.mplionhearts.com/phptesting/
and check all the imap scripts.
A few days ago I was learning about imap functions to send my e-mail to a php script. I was able to connect and read e-mails using a simple script I made. However, the next day not only did the script no longer work, it told me it didn't exist. I'll click on the file on my server, and in Firefox it doesn't load and in IE it says that "The page does not exist" error or whatever.
So I created more, and more scripts, each different, simple, but they all should have worked. They all get teh same problem. However, if I take the imap functions out, they will load and work.
I know imap is installed because I created a function that checked it.
here is a very very simple imap_open script, but it wont aknowledge its existance.
Code: Select all
<?php
print imap_open("{mail.mplionhearts.com:143}INBOX", "mplionhe", "---");
?>http://www.mplionhearts.com/phptesting/imaptest5.php
you can then go back to
http://www.mplionhearts.com/phptesting/
and check all the imap scripts.