[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