Reply
Old September 16th, 2003 Top | #1

OSNN Folding Team  
vern's Avatar
Dominus
Joined: March 2002
Location: Minnesota, USA
Posts: 1,570
Reputation: 660
Power: 146

Default Reading / Writing to text files using PHP.

I want to know how I can read/write to file using PHP. I've gotten to fopen() ... but I don't know how to continue. If I wanted to make script for example that would read text, that would use :: to separate a group of text from another, how would I go about doing that? If anyone has URLs that would help ... feel free to tell me.
vern is offline   Reply With Quote
Old September 16th, 2003 Top | #2

OSNN Folding Team  
Khayman's Avatar
I'm sorry Hal...
Joined: January 2002
Location: England
Posts: 5,514
Reputation: 1210
Power: 194

Default

This bad boy here will tell ya nice and easy
http://www.spoono.com/php/tutorials/tutorial.php?id=32

"*I'm* on the server side. I don't know what side you're on"
Khayman is offline   Reply With Quote
Old September 16th, 2003 Top | #3
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default

Well, if you have a file, and you want to read the entire thing to a string, look at file_get_contents();
X-Istence is offline   Reply With Quote
Old September 17th, 2003 Top | #4

OSNN Folding Team  
vern's Avatar
Dominus
Joined: March 2002
Location: Minnesota, USA
Posts: 1,570
Reputation: 660
Power: 146

Default

Much thanks guys. That URL was a big help.
vern is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics seem semi-jittery, only noticeable when reading text Punkrulz Graphics Cards 3 October 23rd, 2007 5:57pm
Writing over deleted files n0d3 Macintosh 1 January 16th, 2006 4:18am
Stuck in Writing ACM files for MSN Messenger antialias Windows Desktop Systems 3 June 19th, 2003 4:23pm
Not reading files on CD Rom Smoke286 General Hardware 8 June 18th, 2003 1:26am
Reading files in C zyfos Web Design & Coding 1 March 23rd, 2003 11:23am