UrlGuy
07-13-2005, 09:14 PM
Hey,
How do I make a files content a variable?
Like if a file named output.txt contains the following line:
sometext blablabla 0123456789 more test
how would I use PHP to put that into a variable?
I know maybe fread or so but I am not sure how to use it!:\
Can anyone please show me some code on how to do this or give me some start help?
All tips apprecciated, thanks!!
How do I make a files content a variable?
Like if a file named output.txt contains the following line:
sometext blablabla 0123456789 more test
how would I use PHP to put that into a variable?
I know maybe fread or so but I am not sure how to use it!:\
Can anyone please show me some code on how to do this or give me some start help?
All tips apprecciated, thanks!!
