Jump to content

Archived

This topic is now archived and is closed to further replies.

ditusade

Cannot delete lines as displayed from flat file

Recommended Posts

Hi,
I am new to PHP trying to debug a script. I cannot delete lines from a flat file displayed on my page. Please help. I'll post more details below. Any help will be much appreciated.
Thanks and Regards
Dave

Share this post


Link to post
Share on other sites
[!--quoteo(post=370199:date=Apr 30 2006, 09:43 PM:name=Ditusade)--][div class=\'quotetop\']QUOTE(Ditusade @ Apr 30 2006, 09:43 PM) [snapback]370199[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I'll post more details below.[/quote]
Lots more would be good.

Share this post


Link to post
Share on other sites
Below are more details about the issue:
I am trying to debug a script in PHP 5 (Windows XP,
Apache). It has the feature of displaying lines from a
flat file where individual lines can be deleted.
However, when clicking on delete, it doe snot delete
and I can't figure out why.

I cannot post the scipt written... goes in error everytime... anyone can help. Thanks again

Share this post


Link to post
Share on other sites
The error when trying to post here is caused by the way this forum handles what it sees as file read/write operations. I *think* that if you post your script but with a space between the f and open/close/read/write in file commands, then it will be accepted here.

Also - do you get any error messages when running your script? Are the file permissions set properly for you to (re)write the changed version of the file?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.