PHP Help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Rub3X
Forum Newbie
Posts: 2
Joined: Mon Jun 27, 2005 2:22 am
Location: 127.0.0.1

PHP Help

Post 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:
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Please take time to read the forum descriptions and post in the appropriate forum.

Move to PHP Code
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Rub3X
Forum Newbie
Posts: 2
Joined: Mon Jun 27, 2005 2:22 am
Location: 127.0.0.1

Post 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.
Syranide
Forum Contributor
Posts: 281
Joined: Fri May 20, 2005 3:16 pm
Location: Sweden

Post 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)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

a little websearch will return enough ini-generators too ;)
Post Reply