.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


On Apr 3, 2005 9:41 AM, Greg Murray <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi everyone,
> I am new to the Apache/PHP/MySQL crowd. I've taken over a website with
> those attributes and I'm working my way through learning all about it.
> 
> I've come across many files with the .inc extender. I can see where
> they are called within documents, but am unsure how they are
> generated. I note that they are mostly a text type document with a few
> HTML codes.
> 
> How are .inc files generated? Is it a standard used by many other
> sites?
> 
> I have a lot to learn and I appreciate any help I can get.
> 
> Greg
> 
> 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
> 
> 
> 
> 
> 


-- 
fare thee well,
------------------------------------------------------
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/
 



Reply via email to