Re: CAN NOT read qmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I do not get it.
I do not where code has basic mistake.

I do not have any error message.
When I read qmail. My browser is stopped.

Regards,
yui

2008/4/18, Jay Blanchard <jblanchard@xxxxxxxxxx>:
> [snip]
>
>
>  I have a question about read to qmail.
>
>  I try to read qmail using php. But I can not
>  read it.
>
>  the code is below-------------------------
>  <?php
>
>  $file="213434534.domain.com";
>  $fp = fopen($file, "r");
>  while(!feof($fp)) {
>  $data = fgets($fp, 1024);
>  echo "$data <br>";
>  }
>  fclose($fp);
>
>  ---------------------------------------------
>
> [/snip]
>
>  Insert some basic error checking code to see if you successfully opened
>  the file, etc. That'll point you in the right direction.
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux