28.03.2015, 16:00
Invalid file handle crashed the server. You must write (same for reading and pretty much using most of the file functions) to the file only if it was opened correctly.
The problem is in PayLog function and it should be like (an example):
The problem is in PayLog function and it should be like (an example):
PHP код:
new
File: handle= fopen(...);
// if opened successful:
if (handle)
{
fwrite(...);
fclose(handle);
}