magnetica Posted September 11, 2007 Share Posted September 11, 2007 I have a RSS feed that I want to update daily using the fwrite(). I understand that fwrite that either write over or add to a file. How do i get the fwrite to write at a specific place in my RSS. For example: Headers HERE Use fwrite() to write something in here Old Content Here Quote Link to comment https://forums.phpfreaks.com/topic/68826-solved-fwrite/ Share on other sites More sharing options...
MadTechie Posted September 11, 2007 Share Posted September 11, 2007 check the manual fwrite Quote Link to comment https://forums.phpfreaks.com/topic/68826-solved-fwrite/#findComment-345942 Share on other sites More sharing options...
magnetica Posted September 11, 2007 Author Share Posted September 11, 2007 I did read through the manual but it doesn't tell me how to write to a specific point in the file like the middle. Any other tutorials? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/68826-solved-fwrite/#findComment-345944 Share on other sites More sharing options...
MadTechie Posted September 11, 2007 Share Posted September 11, 2007 why not read in the file and then overwrite with the updated data ? Quote Link to comment https://forums.phpfreaks.com/topic/68826-solved-fwrite/#findComment-345953 Share on other sites More sharing options...
magnetica Posted September 11, 2007 Author Share Posted September 11, 2007 I had thought of that but I thought there was a way to write to a specific point. Anyhow I will go with that! Thanks Quote Link to comment https://forums.phpfreaks.com/topic/68826-solved-fwrite/#findComment-345955 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.