kcg Posted June 15, 2009 Share Posted June 15, 2009 Hello, I am fairly new to PHP, I want to get one of my PHP pages to modify another php page, Can anyone point me to the correct documentation on this kind of thing? thanks ~ kcg Link to comment https://forums.phpfreaks.com/topic/162243-file-modification/ Share on other sites More sharing options...
jxrd Posted June 15, 2009 Share Posted June 15, 2009 You mean like fopen and fwrite? Link to comment https://forums.phpfreaks.com/topic/162243-file-modification/#findComment-856243 Share on other sites More sharing options...
PFMaBiSmAd Posted June 15, 2009 Share Posted June 15, 2009 In general, you don't modify php files to change content or data on a page (unless you are a hacker trying to take over a web site.) A specific example of what you want to do would help. Link to comment https://forums.phpfreaks.com/topic/162243-file-modification/#findComment-856250 Share on other sites More sharing options...
kcg Posted June 15, 2009 Author Share Posted June 15, 2009 You mean like fopen and fwrite? thats it, thanks Link to comment https://forums.phpfreaks.com/topic/162243-file-modification/#findComment-856256 Share on other sites More sharing options...
jxrd Posted June 15, 2009 Share Posted June 15, 2009 In general, you don't modify php files to change content or data on a page (unless you are a hacker trying to take over a web site.) A specific example of what you want to do would help. Lol...ignored. He is right though, doesn't sound like a very well thought out way of doing whatever you're trying to do...unless you're trying to hack someone. Link to comment https://forums.phpfreaks.com/topic/162243-file-modification/#findComment-856265 Share on other sites More sharing options...
kcg Posted June 30, 2009 Author Share Posted June 30, 2009 In general, you don't modify php files to change content or data on a page (unless you are a hacker trying to take over a web site.) A specific example of what you want to do would help. Lol...ignored. He is right though, doesn't sound like a very well thought out way of doing whatever you're trying to do...unless you're trying to hack someone. No, I'm not trying to hack someone. And yes it was a thought out way of doing what I was doing. Creating a patching utility and needed to do some filemod. Link to comment https://forums.phpfreaks.com/topic/162243-file-modification/#findComment-866223 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.