Re: Include File Syntax

From: Date: Fri, 27 Apr 2001 08:06:24 +0000
Subject: Re: Include File Syntax
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8933@lists.php.net to get a copy of this message
Hi Format of included files is the same as original .php file.:) When you include .php file it is the same as you copy that file in your main .php file in that place. > This is my first time programming with PHP. I have seen include files in > the beginning of a php block and wonder is there a specific syntax used in > these files and how secure this is vs code in my .php page? > > Can someone show me a small example of what the include file might look like > that would contain variables for $mysql server, $username $password and > $db_name. > > Any comments you may have about security involving files containing these > variables and where to store them would be greatly appreciated. > > > > Thanks In Advance. > > > Kat > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#8933) next »