Re: Going crazy with include & require not working
| From: | Michael Shadle | Date: | Tue, 07 Jun 2011 00:54:43 +0000 |
| Subject: | Re: Going crazy with include & require not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313415@lists.php.net to get a copy of this message | ||
On Mon, Jun 6, 2011 at 5:50 PM, Brian Dunning <brian@briandunning.com> wrote:
> Here's my code:
>
> error_reporting(E_ALL);
> require_once('/var/www/mysite/includes/fpdi.php');
> require_once('/var/www/mysite/includes/fpdf.php');
try adding this too:
ini_set('display_errors', 1);
I've realized I've had to do that before on many systems because it's
not enabled
random note: you don't need parens on require / include stuff since
they're not actually functions