RE: [PHP] can .inc run php script?

From: Date: Mon, 29 Jan 2001 22:46:31 +0000
Subject: RE: [PHP] can .inc run php script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37154@lists.php.net to get a copy of this message
Well if your using .inc then your probably including this into a php file via include "config.inc"; in which case it will become part of a php file so yes it will be parsed. If your trying to run it as a standalone then that will depend on your web server config and which files you've told it to parse as php files. -Brian ********* > -----Original Message----- > From: John LYC [mailto:john@edlabs.com] > Sent: Sunday, January 28, 2001 6:31 AM > To: PHP List > Subject: [PHP] can .inc run php script? > > > hi all, > > can .inc file run scripts... > > example... > > //config.inc > > function watever() > { > //do something > $var = something; > return $var; > } > > thanks > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#37154) next »