Hi, I\'m trying to rewrite a file to a shorter length and can\'t seem to get rid of the end of the file, how would I go about doing this in php3? I can\'t find any documentation on writing an EOF, and the ftruncate function only seems to exist in php4. Is there any way to do this, or should I just unlink the file and rewrite it from scratch? I\'m not the administrator so it is not an option to upgrade to php4.
Thanks