Posted by Jeff on 03/22/07 01:35
I'm wondering if it is having problems with the $incrementcontents
being a string coming from the file and then not specifically
converting it to an integer before adding 1 to it. This is pretty
much a guess.
But you might want to try something like.
$incrementcontents = (int)file_get_contents($incrementfilename);
$incrementcontents++;
See if that helps.
Navigation:
[Reply to this message]
|