How to make a ini file?
Hi all,
I have a problem I have this code: PHP Code:
Code:
|
Re: How to make a ini file?
Bump?
|
Re: How to make a ini file?
I've never heard of .coord extension.
How do you except to make a .ini file when you've given your file a .coord extension(which I don't think even exists)? |
Re: How to make a ini file?
The same with .ini...
|
Re: How to make a ini file?
Try this:
Code:
|
Re: How to make a ini file?
fclose( fopen( g_szFile, "x" )
can be fclose( fopen( g_szFile, "" ) ? Don't write anything? |
Re: How to make a ini file?
"x" is a flag. It will create an empty file.
|
Re: How to make a ini file?
If you are looking to just save settings and do not care about it being in ini-file format, try using nVault. The commands are very simple.
|
Re: How to make a ini file?
Quote:
Please test and tell me if it works. :crab: |
Re: How to make a ini file?
Using this:
fclose(fopen("filename.ini", "wt")); Makes an empty file. |
| All times are GMT -4. The time now is 23:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.