...

View Full Version : inc file



Peuplarchie
12-19-2007, 05:34 AM
Good day to you,
is there a special way to include a .inc file ?

thanks

_Aerospace_Eng_
12-19-2007, 05:47 AM
Nope.
You can use include (http://www.php.net/include/), include_once (http://www.php.net/include_once/), require (http://www.php.net/require/), or require_once (http://www.php.net/require_once/).

Though with a .inc file, unless you server is setup to parse them as php, any php in them will be ignored.

Peuplarchie
12-19-2007, 06:12 AM
thanks, I had a problem but my proble was my path...it"s fixed now.thanks !

GJay
12-19-2007, 07:58 AM
Though with a .inc file, unless you server is setup to parse them as php, any php in them will be ignored.

No it won't. If you try to access it directly it would, but as an include it will be parsed regardless.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum