Steven Macintyre wrote:
> 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 ...

use a different file function. e.g. file_get_contents()

if you read the relevant manual page it might become clear why
readfile() always display the output to the user:

http://php.net/readfile

> 
> 
> $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
> 
> 
> 
> 

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

Reply via email to