Forum Moderators: coopster

Message Too Old, No Replies

Imap Extension

Installation Issue

         

umerkk

6:08 pm on Sep 2, 2007 (gmt 0)

10+ Year Member



Hi
I have installed Php using Zip, and it is working fine,, now i have just uncommented the extension = php_imap.dll and when i try to use its function imap_open i get No output in Browser, No Warning, No Error and not any output of other codes on page,

I dont know why it is happeneing, extension is on c:\php\extensions\php_imap.dll

and on php.ini
extension_dir = "C:\php\extensions"

any idea?

My Test page code is

<?
$k = imap_open("ssdf","sdfsdf","sdfsdf");
echo "sfsd";

?>

jatar_k

6:10 pm on Sep 2, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you should get something

is error reporting turned off in your php.ini?

are the errors going to a log?

there is an error there somewhere, otherwise it would at least be executing the echo statement.

umerkk

6:12 pm on Sep 2, 2007 (gmt 0)

10+ Year Member



Error Reporting is on

error_reporting = E_ALL

jatar_k

6:22 pm on Sep 2, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



what about

display_errors

umerkk

6:23 pm on Sep 2, 2007 (gmt 0)

10+ Year Member



it is also on

display_errors = on

jatar_k

8:22 pm on Sep 2, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



comment out the imap_open and see if the file echos, also view source, just in case

you should either get an error or the echo output

if not then try another file, start a blank file, put that code in it and save with a new name and see if anything happens

umerkk

9:44 pm on Sep 2, 2007 (gmt 0)

10+ Year Member



When I See the Source it show me Blank Without Source, and when i comment imap_open it show me Just Echoed Text SDFS

jatar_k

12:11 am on Sep 3, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



have you tried something a little more involved to so if it actually worked, though I still have no idea why it doesn't echo when the imap_open function is there

take a look at the manual and try to get some data from the resource

[php.net...]