Re: Include help
| From: | Toby Butzon | Date: | Sun, 03 Dec 2000 09:17:39 +0000 |
| Subject: | Re: Include help | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28420@lists.php.net to get a copy of this message | ||
Actually, better still, what's on line 44 of
/home/blazenet/ads/ads-noprint.php ?
Toby Butzon
[ criticism spurs improvement ]
----- Original Message -----
From: "Leon Mergen" <leon@blazenetwork.com>
To: "Toby Butzon" <php-lists@imawebdesigner.com>
Cc: <php-general@lists.php.net>
Sent: Sunday, December 03, 2000 4:17 AM
Subject: Re: [PHP] Include help
: The standalone code of a file I want to include is this (and works
: perfectly) :
:
: <?
: $dotBanner_file_directory = "/home/blazenet/ads/";
: include("$dotBanner_file_directory" . "ads-noprint.php");
: print dotBanner_PickBanner("antrophia");
: ?>
:
:
: but as soon as I want to include this code in another php file, it
generates
: the error...
: ---
: I love work! I can watch it for hours!
: ----- Original Message -----
: From: "Toby Butzon" <php-lists@imawebdesigner.com>
: To: "Leon Mergen" <leon@blazenetwork.com>; <php-general@lists.php.net>
: Sent: Sunday, December 03, 2000 10:04 AM
: Subject: Re: [PHP] Include help
:
:
: > Can you please post the code that's generating this error?
: >
: > Toby Butzon
: > [ criticism spurs improvement ]
: >
: >
: > ----- Original Message -----
: > From: "Leon Mergen" <leon@blazenetwork.com>
: > To: <php-general@lists.php.net>
: > Sent: Sunday, December 03, 2000 4:07 AM
: > Subject: [PHP] Include help
: >
: >
: > : Hello,
: > :
: > : I'm trying to use a require() or include() (doesn't matter to me) in a
: PHP
: > script, but I get this error:
: > :
: > : Fatal error: Call to a member function on a non-object in
: > /home/blazenet/ads/ads-noprint.php on line 44
: > :
: > : What does this mean, and how can I fix it?
: > :
: > : Thanks
: > :
: > : ---
: > : I love work! I can watch it for hours!
: > :
: >
:
: