Adam Zey wrote:
Dave Goodchild wrote:
I use a config file too. That was a sanity check. The file extract
looked like this:
$months = array(1 => 'January', 2 => 'February', 3 => 'March', 4 =>
'April', 5 => 'May', 6=> 'June',
7 => 'July', 8 => 'August', 9 => 'September', 10 =>
Dave Goodchild wrote:
I use a config file too. That was a sanity check. The file extract
looked like this:
$months = array(1 => 'January', 2 => 'February', 3 => 'March', 4 =>
'April', 5 => 'May', 6=> 'June',
7 => 'July', 8 => 'August', 9 => 'September', 10 =>
'October', 11 =>
Dave Goodchild wrote:
Hi all - I have several require_once statements in my web app to load in
small function libraries. A common one bundles a variety of functions to
handle date math and map month numbers to month names. I originally defined
an array in that file plus a bunch of functions but w
I'm also having a problem with including file into and include file.
my script reads.
( (strpos($PHP_SELF,"admin/")) ? include('../includes/mysql.inc.php') :
include('includes/mysql.inc.php') );
@mysql_pconnect($mysqlDBhost,$mysqlDBuser,$mysqlDBpass)
or die ("Database access error. Please contac
be sure that the path to the include file is relative to the script that was
requested
by the user. that's important if you include include-files into included
files.
you then have to make sure that the path to your include-file in the
include-file is
relative to the file that included the file, i
5 matches
Mail list logo