The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I use VBulletins cron system to read and write to a text file? I have a file that saves data to a text file that I would like it to do everyday, ideas?
Code:
$fp = fopen('../../data/result.txt', 'w');
fwrite($fp, $data1);
fwrite($fp, '.');
fwrite($fp, $data2);
fwrite($fp, '.');
fwrite($fp, $data3);
fwrite($fp, '.');
fwrite($fp, $cata4);
fclose($fp);
|
|
#2
|
|||
|
|||
|
Anyone?
|
![]() |
|
|