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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]