opening and writing to a file
Posted: Mon Apr 17, 2006 5:32 pm
hello all I need a bit of help with something, basicially I have a file (numbers.txt) it contains the contents:
its tried a few things:
and a few other but none seem to work, how would I do this?
I need numbers.php to read this and put it in a variable0
its tried a few things:
Code: Select all
$file1 = fopen('nubers.txt', 'w+');
$file2 = include('numbers.txt');