Re: require_once adds a "1"
| From: | Ernest E Vogelsinger | Date: | Fri, 07 Mar 2003 19:21:21 +0000 |
| Subject: | Re: require_once adds a "1" | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138681@lists.php.net to get a copy of this message | ||
At 20:19 07.03.2003, Gary said:
--------------------[snip]--------------------
>Thanks for your response James!
>but still I must be doing something wrong the "1" is a persistent little
>bugger. Have you any tips on how to rewrite:
>
><?php
>echo @ require_once("topten.php");
> ?>
>using the ob_methods?
--------------------[snip]--------------------
Rewrite this to just
require_once('topten.php');
No need to echo here.
Using output buffering the 1 would still appear, some microseconds later...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/