ditusade Posted May 1, 2006 Share Posted May 1, 2006 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 Quote Link to comment Share on other sites More sharing options...
AndyB Posted May 1, 2006 Share Posted May 1, 2006 [!--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. Quote Link to comment Share on other sites More sharing options...
ditusade Posted May 1, 2006 Author Share Posted May 1, 2006 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 aflat file where individual lines can be deleted.However, when clicking on delete, it doe snot deleteand I can't figure out why.I cannot post the scipt written... goes in error everytime... anyone can help. Thanks again Quote Link to comment Share on other sites More sharing options...
AndyB Posted May 1, 2006 Share Posted May 1, 2006 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.