Raised This Month: $ Target: $400
 0% 

How to make a ini file?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 12-23-2008 , 07:46   Re: How to make a ini file?
Reply With Quote #5

Quote:
Originally Posted by Lee View Post
A file extension is nothing but a piece of metadata that tells the operating system which program should be used to read a file that uses a particular encoding technique. It has no bearing on how the file is created in this context. The .ini file format is not well defined, either by an authoritative body or by de facto standard. As such, it can be considered as nothing more than a standard text file containing settings. Therefore, it really doesn't matter whether his file has an extension of .ini, .cuttlefish (if the file system in use permits an extension of that length of course), or since he probably won't be using a desktop computer to open it, whether it has one at all.
I know, but if you look at the topic he specifically asked for a .ini file, so I thought maybe it does matter for him. I guess I was wrong.

Quote:
Originally Posted by Lee
The documentation of C's fopen() makes no mention of an x flag (AMX Mod X's fopen() is just a wrapper).
AMX Mod X is also very similar to PHP, so I thought that the PHP flag "x" might exist here too. Thanks for the information.

@GoGoGo
Search in the code I gave you the "x" flag and change it to "wt" then test.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode