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 <[EMAIL PROTECTED]>:
> [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