On Fri, 2003-03-07 at 18:28, Gary wrote:
> Hi
> I've included the following in a php document:
> <?php
> echo @ require_once("anyfile.php")
> >
use only 
<?php
require_once "anyfile.php";
?>
if you use echo require_once("somefile.php"); it will include the file
and then echo 1 witch is the return value of require_once;

> and it works exactly as I expect except at the end of the included document
> theres a single "1" displayed. I've noticed also that if I include a
> document in the included document the end result will be the document I want
> exactly as I want it with the addition of two ones "11"s can anyone tell me
> how to get rid of the ones?
> (if I run anyfile.php by itself there are no "1"s)
> Gary

________________________________________________________________________
Mincu Alexandru 
     intelinet.ro 
Tel:
+4 0745 369 719 
+4 021 314 00 21 
www.intelinet.ro
[EMAIL PROTECTED]


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

Reply via email to