Page 1 of 1

PHP Help

Posted: Mon Jun 27, 2005 2:27 am
by Rub3X
Hey I'm trying to use this INI function but cant seem to get it to work. This is the PHP function:
http://cyber-knowledge.net/~tharub3x/inifunc.php.txt
This is the code I'm usig to call it:
http://cyber-knowledge.net/~tharub3x/test.php.txt
And this is what the text file looks like:
http://cyber-knowledge.net/~tharub3x/test.txt

When run there is no errors, but nothing happens
:roll:

Posted: Mon Jun 27, 2005 3:37 am
by JayBird
Please take time to read the forum descriptions and post in the appropriate forum.

Move to PHP Code

Posted: Mon Jun 27, 2005 4:10 am
by Chris Corbyn
Maybe it would help if you explained what it should do since I don't think anybody is going to sit down and read through all that code in order to figure it out themselves ;)

By the way, we have

Code: Select all

tags to colorize your code too... makes for easier reading and debugging  --> there's an "Edit" button on your post if you wish to update it to use these, you'll get more responses.

Posted: Mon Jun 27, 2005 6:48 am
by Rub3X
Its ok I got it. Whoever made the function made a one letter typo which screwed up the hole thing. Sorry for posting in wrong spot.

Posted: Mon Jun 27, 2005 6:52 am
by Syranide
if you are only going to read INI-files there is already a function in PHP for that. (not writing though as far as I know, not so strange perhaps)

Posted: Mon Jun 27, 2005 9:17 am
by timvw
a little websearch will return enough ini-generators too ;)