Can someone give other examples of this? Like an example of a script name to be put in the SERVER code or at least a scenario of where and when to use this code? Thank you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone give other examples of this? Like an example of a script name to be put in the SERVER code or at least a scenario of where and when to use this code? Thank you.

28th Sep 2015, 10:21 AM
Ciara Grace Tenorio
Ciara Grace Tenorio - avatar
1 Answer
+ 1
if you install a wordpress in your localhost before to publish it, you can change the database config depending on $_SERVER['HTTP_HOST']. So you can work in your localhost and in PRO with the same config.php. Google it fot mote info.
18th Dec 2015, 5:45 AM
alberto gomez