/    Sign up×
Community /Pin to ProfileBookmark

Config file to website

I need small help for whot is best way to config file in website.

i hav right now a config.php file when i crate variables and array in this file bot i hav read small about parse_ini_file() for ini file to config items soe now i ask my self about whot is fastest way and best perfomest for the webserver.

i hob i can be helpt here.

to post a comment
PHP

8 Comments(s)

Copy linkTweet thisAlerts:
@bokehMay 09.2006 — Unless your webserver is serving 50 pages a second you don't need to worry about performance.
Copy linkTweet thisAlerts:
@NeoNmaNauthorMay 09.2006 — Okay... bot i think whot method ist fastest?
Copy linkTweet thisAlerts:
@bokehMay 09.2006 — Why don't you run a test to find out? It is unlikely though that there is even a 1 millisecond advantage with either method.
Copy linkTweet thisAlerts:
@NeoNmaNauthorMay 09.2006 — hmmm year ist right... bot how can i doe it? are the one function to tjeck load time?
Copy linkTweet thisAlerts:
@bokehMay 09.2006 — You would need to write one and to be accurate it would need to test both compile time and run time.
Copy linkTweet thisAlerts:
@NeoNmaNauthorMay 09.2006 — oaky. bot how?
Copy linkTweet thisAlerts:
@bokehMay 09.2006 — Why would you waste your time (maybe several hours) writing a script to find if one method is quicker than the other, and if so by how many nanoseconds.
Copy linkTweet thisAlerts:
@NeoNmaNauthorMay 09.2006 — okay ? tanks for help there....
×

Success!

Help @NeoNmaN 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.25,
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,
)...