Re: include & require directive

From: Date: Tue, 13 Aug 2002 15:41:23 +0000
Subject: Re: include & require directive
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-112343@lists.php.net to get a copy of this message
Thanks, I thought I checked that already. Obviously, I use notepad in Win2000 to edit the files, and save them as Unicode file, which Notepad put some characters at the beginning of the file. Only when I use another editor was I able to see those strange characters. After deleting them, the require statement works fine. Again, thanks for the help. :) "James Green" <jg@cyberstorm.demon.co.uk> wrote in message news:1029235214.5787.5.camel@cyberstorm.jmkg.claranet.co.uk... > On Tue, 2002-08-13 at 02:55, Huy wrote: > > But I do... > > > > If I left out the require statement.... all is well.. or I copy the whole > > content of the included file.. it works fine. The problem is the require > > statement. > > Check the file for whitespace, anything outside ?>..<?php or > spaces/blank lines above your first <?php in any of your files. > > James. > >

« previous php.general (#112343) next »