Sorry people for not informing you as a should.
When I posted this, I had litle time, busy all day long.
But, now I have time to tell you what I dont understan.
Now, I need help making a script, that reads from a file, like, when I say
$text = "1234-1234-1234";
The script will use $text to find the text from a file, a txt file.
Then, after finding it, I need a script to delete that text.
So, I need like 2 scripts, and some help with making this script:
$wow_max_accounts is set to "100";
And when the script "count(glob('$base_dir/*'))" counts the files,
in the directory $base_dir, or $base_dir="accounts";
Then the php must do some math. Like, lets say there are 400 accounts, and the limit is 100.
if (100 > 400) { (if 100 is bigger than 400, witch 100 is not, then the account can be created, if not, then it continues to the } else { part.
I have fixed the script, but I cant fix the if (100 > 400) part, when I use this, script, it registeres the account anyway, and if i make the > to an <, then no accounts can be registered, even if the limit is set to 1000!...
I hope you can help me, tnx...
