/    Sign up×
Community /Pin to ProfileBookmark

Good day to you,
is there a special way to include a .inc file ?

thanks

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@TheRaveDec 19.2007 — You can include almost any type of file with:

include();

includeonce();

require();

requireonce();
Copy linkTweet thisAlerts:
@NogDogDec 19.2007 — Only use the include/require functions if you need to process any PHP code within the included file. If not, then just use [url=http://www.php.net/readfile]readfile[/url]().

PS: There is an underscore in the function names include_once() and require_once().
Copy linkTweet thisAlerts:
@TheRaveDec 19.2007 — Thought it didn't look quite right. That's what lack of sleep for 2 weeks does to you.

:rolleyes:
Copy linkTweet thisAlerts:
@MrCoderDec 19.2007 — Thought it didn't look quite right. That's what lack of sleep for 2 weeks does to you.

:rolleyes:[/QUOTE]


Burning the candle at both ends too?
Copy linkTweet thisAlerts:
@TheRaveDec 19.2007 — Software testing at work all day, parties/rehearsals all evening, web development during a large proportion of the night makes Dave a tired boy.
×

Success!

Help @Peuplarchie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...