manipulating flat file

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

Mon Feb 24, 2003 10:24 am

I save some data on a flat file, not much data but updates even. I read the book it teachs me only appending new data to a file, or unlink the whole file. In fact I need to somehow delete some elements of and REALLY need to edit them frequently.

So when I access the data in the flat file using array, how can I perform editing of the array elements?

Please help

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Tue Feb 25, 2003 5:15 am

If youre file have a ual info like passwd you may load it like array.... and manage :^)
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

Tue Feb 25, 2003 8:38 am

ual info? what's that? any website or document I can read about it? thanks

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests