readfile()
| From: | Steven Macintyre | Date: | Thu, 11 Jan 2007 09:32:09 +0000 |
| Subject: | readfile() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-246891@lists.php.net to get a copy of this message | ||
HI all
I'm currently using this function to read a remove address to create a
mailbox ...
However - It ALWAYS displays the output of that file to the user screen ...
all I wish to do is something like ...
$status = Readfile(warra warra warra);
If ($status === "MailBox Created") {
Do more stuff
} else {
Tell user that there was a problem
}
How is this done ...
At current - the "MailBox Created" and error message if there is always
displays raw on the screen as if its outputting that buffer
Kind Regards,
Steven Macintyre
http://steven.macintyre.name
--
http://www.friends4friends.co.za