Load textfiles into vars
Posted: Wed Oct 22, 2003 8:30 am
Ive started with a filemanager, and I need some help with how to load parts of a textfile into vars, an example of how the textfile would look like:
I want the name for the content in one var, the author in 1, source in 1 and the content in one. The text will not include any PHP-tags, just text and maybe some links, or other HTML-tags...
Code: Select all
Selected_name_for_content
Author(name@domain.com)
Source_(http://www.altavista.com_etc)
content, which will be more than one line....
Line two...
Line three...
Line four...
Last line here