Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

manipulating flat file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

manipulating flat file

Postby mynmonic » 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
mynmonic
New php-forum User
New php-forum User
 
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong

Re: manipulating flat file

Postby WiZARD » Tue Feb 25, 2003 5:15 am

If youre file have a ual info like passwd you may load it like array.... and manage :^)
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby mynmonic » Tue Feb 25, 2003 8:38 am

ual info? what's that? any website or document I can read about it? thanks
mynmonic
New php-forum User
New php-forum User
 
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron