PDA

View Full Version : PHP and file contents


mark_olson
03-31-2001, 11:17 PM
Is there a way in PHP to set the contents of a file to a variable?

foe
04-01-2001, 04:41 PM
yes, you should goto devshed.com they have a pretty good tutorial on it.

mark_olson
04-01-2001, 09:31 PM
Is it at all possible you can post a direct link to it?

mark_olson
04-01-2001, 11:54 PM
Anyone reading this, nevermind anymore.
The trouble I was having was with the file() command, and not realizing that it stored the contents as an array, so I assumed I was using it incorrectly.