RE: [PHP] can .inc run php script?
| From: | Maxim Maletsky | Date: | Tue, 30 Jan 2001 02:47:17 +0000 |
| Subject: | RE: [PHP] can .inc run php script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37224@lists.php.net to get a copy of this message | ||
Yup,
you can even run .maxim or .john if you add them into apache's httpd.conf,
or without adding anything you can just include() any possible kind of file
into .php file and it will be processed just as a .php file.
Cheers,
Maxim Maletsky
-----Original Message-----
From: John LYC [mailto:john@edlabs.com]
Sent: Sunday, January 28, 2001 8:31 PM
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