The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cron Reading of a File
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?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|