It's good coding habit, and it sometimes will save you from some
"constant"
> headaches (pun intended for everyone who has run into this problem
before).
>
> - Jonathan
>
>
>
> -Original Message-
> From: Brad Melendy [mailto:[EMAIL PROTECTED]]
> Sent: Thur
No problem. I wonder if there's a web-based syntax checker for PHP...
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Man, this means I ha
k up any
errors.
> > Also, check your error log if you have one (contact your hosting company
> if
> > you're not sure).
> >
> > I would definitely try to solve this the normal way by finding the
problem
> > with the paths rather than trying to screw with your php.ini o
who has run into this problem before).
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Thanks Jonathan,
Your suggestions were very helpful, especiall
This might be your problem:
mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Thanks Jonathan,
Your suggestions were very helpful, especially turning on the error logging.
Here is where I'm at now:
Fil
ld definitely try to solve this the normal way by finding the problem
> with the paths rather than trying to screw with your php.ini or httpd.conf
> file - otherwise you'll have a script that might not work if you ever have
> to move your scripts or copy them to a development server
ay, March 28, 2002 10:10 AM
To: 'Brad Melendy'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] include() statement hell!
> So, maybe this is the question. Can you include a file from
> /main/page.php by using a path of /includes/dblib.inc?
Probably not. PHP can "see" the whole
: Wednesday, March 27, 2002 7:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Thanks Jonathan,
I'm trying to include a file /includes/dblib.inc from /main/page.php. In
/main/page.php I use include("includes/dblib.inc");. When that didn't work,
I
On Thursday 28 March 2002 14:58, Brad Melendy wrote:
> How is this different than using the php.ini file?
>
> "Photocon" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> > At 22:41 3/27/2002 -0600, Dan Brunner wrote:
> > >Has anybody told him to check his PHP
How is this different than using the php.ini file?
"Photocon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 22:41 3/27/2002 -0600, Dan Brunner wrote:
> >Has anybody told him to check his PHP.INI???
>
> How about adding the following to httpd.conf:
>
> php_
t: Wednesday, March 27, 2002 6:28 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-DB] include() statement hell!
>
> #1. You may want to double-check the path where you're calling it from
> in
> case you're working with subdirectories.
>
> Let's s
At 22:41 3/27/2002 -0600, Dan Brunner wrote:
>Has anybody told him to check his PHP.INI???
How about adding the following to httpd.conf:
php_value include_path .:/usr/share/php:/path/to/webpages
--Photocon
Conrad Hunziker III
www.nightskyent.com
--
PHP Database Mailing List (http://www.php.
Has anybody told him to check his PHP.INI???
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 6:28 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] include() statement hell!
#1. You may want to double-check the path
quest correctly.
>
> #3. Please give us a little more detail on the errors you're getting (any
> specific messages would be nice).
>
> - Jonathan
>
> -Original Message-
> From: Rick Emery [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 27, 2002 3:42 PM
Hi Rick,
Yes, this is the first thing I checked. Thanks for your suggestion.
...Brad
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> did you start each include file with:
> ?>
>
> If not, PHP treats the code within as straight text
>
> -Orig
il on the errors you're getting (any
specific messages would be nice).
- Jonathan
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:42 PM
To: 'Brad Melendy'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] include() statement hell!
di
did you start each include file with:
If not, PHP treats the code within as straight text
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 5:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] include() statement hell!
Ok, I've spent some time
17 matches
Mail list logo