Re: Uhh...what happened with include

From: Date: Mon, 15 Jul 2002 10:52:48 +0000
Subject: Re: Uhh...what happened with include
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2246@lists.php.net to get a copy of this message
Eric Persson wrote:
Hi everyone... I recently thought that I should try php-gtk to do some applications instead of struggeling with Visual Basic.. I got going quite fast and it seems straigtforward as long as I get a hang on what widgets to use. :) The problem was when I started to include some classes I had laying around, for example, my http class and soap class. I could use them for some reason. They didnt seem to be included when I used include() or require()...They was just echoed to the command prompt(this was tested under win2k) and after that the program started up.
had they got ? <?php //at the begining //and at the end ?> I suggest you use require_once - rather than require - it's a little more flexible.. regards alan
So, is there some special trick to split the program into several files or do I have to have one megafile.. ;) Best regards,
    Eric


« previous php.gtk.general (#2246) next »