Jump to content

Very confused.


efm

Recommended Posts

Sorry, should've explained.  The image shows the comparison of Beta 2 script (left) to Beta 3 script (right).  The red part is what's different between the two, and the fopen.... section was removed in Beta 3.

 

Thanks for the links, I'm reading about it now.  Lots of terms I'm not familiar with... don't come from much of a programming background.

Link to comment
https://forums.phpfreaks.com/topic/81306-very-confused/#findComment-412663
Share on other sites

The code in question is writing a configuration file in the admin area (that was just written to a different location by the lines immediately above the lines in question.)

 

My guess would be that someone decided that you should only have one configuration file instead of having and maintaining two files with the same contents.

Link to comment
https://forums.phpfreaks.com/topic/81306-very-confused/#findComment-412837
Share on other sites

The code in question is writing a configuration file in the admin area (that was just written to a different location by the lines immediately above the lines in question.)

 

My guess would be that someone decided that you should only have one configuration file instead of having and maintaining two files with the same contents.

 

That makes perfect sense.  So what I'm getting from the bit of reading that I'm doing is basically fopen would give the script access to a file, fwrite would write information to that file, then fclose would terminate access to the file.  Am I close?

 

Link to comment
https://forums.phpfreaks.com/topic/81306-very-confused/#findComment-413019
Share on other sites

Archived

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

×
×
  • Create New...

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.