I tried that too, but mine don't show up.. I tried:
require('myincfile.inc');
require("myincfile.inc");
I even tried renaming the file:
require('myincfile.inc.php');
require("myincfile.inc.php");
Or even the include(); function.
All of these syntex's produce the css template if I view the
source of the code, but doesn't show the effect on the page.
Is there meant to be a configuration in the php.ini file for
these *.inc files to be accepted/work?
Browsers tried: IE, Firefox, Netscape, Opera, AOL.
Thanks. :-)
Litchcockbell.
--- In [email protected], dag <[EMAIL PROTECTED]> wrote:
> .inc files are 'include' files...
>
> they are used like include("mycontent.inc");
>
> they are just text files with the .inc entension (they could just be
> .txt really)...
>
> I use them to make pages more dynamic by 'including' small pieces of
> code that I re-use often such as the popular sql.inc which connects
to
> your database...
>
> A .inc file can contain anything.. html, php etc.
>
> I hope this answers your question.
>
> dag
>
>
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/