Re: include & require directive
| From: | Miles Thompson | Date: | Tue, 13 Aug 2002 17:37:54 +0000 |
| Subject: | Re: include & require directive | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112379@lists.php.net to get a copy of this message | ||
Huy,
Use Editplus, or something similar, not Notepad. Costs $45 and makes your work *much* easier.
Miles
At 08:41 AM 8/13/2002 -0700, Huy wrote:
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 thewholecontent 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php