omescroll Posted February 27, 2009 Share Posted February 27, 2009 Why is the T_FUNCTION required when one tries to build a web page using functions and saving the file as a .inc file. it points an error to the last line of the code. the error is not logical. Quote Link to comment https://forums.phpfreaks.com/topic/147176-t_function-and-why-it-is-required-in-a-inc-file/ Share on other sites More sharing options...
premiso Posted February 27, 2009 Share Posted February 27, 2009 You should not save files as just ".inc". You should save them as ".inc.php" for security reasons. As far as why, show the code and maybe we can help. Quote Link to comment https://forums.phpfreaks.com/topic/147176-t_function-and-why-it-is-required-in-a-inc-file/#findComment-772609 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.