Jump to content

PHP duplicate Forum?


bryanau

Recommended Posts

So i have a forum php in a folder called Editor, then i duplicated it and made a new folder called Editor2, but when i go onto the site and change something in Editor2 it changes stuff in Editor so im not sure where in the code i have to change something in the Editor2 folder?

Link to comment
Share on other sites

not sure but maybe you mean when you update the data in other folder the other one is affected?  if that is what you mean maybe because they share database so if change the content on that folder you will also see the changes on the other records on the other dir

Link to comment
Share on other sites

you dont get my last post.. I'll try to explain it well

 

sample if i edit my name on that folder it will also be edited on the other folder? if that is the case you are sharing database

create another databse for that other folder duplicate also your database

Link to comment
Share on other sites

hmm...i understand what you mean. See this is actually my bosses forum and he told me to find the piece of code in the 2nd folder that is different then the first so that it works properly and he told me to ask for help so i picked this forum ha. So i guess i should tell him he needs to also duplicate his database..say he did..is there a line of code somewhere in the new php folder that would need to be edited to work with the new database?

Link to comment
Share on other sites

if that software is coded properly(standard ) all you have to do is find that page where it defines the db connection and change the DB name to your new DB, but if that soft ware is poorly coded you have to look for each connection and change its db name to your duplicated db  ;)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.