> 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?
Don't rely on file extensions. ;) Most files used in php enviroment are plain text files. common ones: *.txt *.php *.ini *.js *.css *.cfg read.me ... You can use any editor and write them as long as they are plain text based. Some people use *.inc for *.php files if they get included. But that's a bad thing, inc may get unparsed to the browser and so it can be read by the user! Better use *.inc.php or put them in a folder ./inc/*.php so you can be sure that even if someone fingers the url to a file you include he can not read it because *.php always gets parsed by apache. 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/
