Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: can't get includes to load Date: Wed, 27 Mar 2013 07:53:56 +0100 Lines: 29 Message-ID: References: <3bednVqnL5qAhc_MnZ2dnUVZ_q6dnZ2d@supernews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net qYxIPakDG+J/Fh+3qQfanQfzL2vvcP4BnmrNQ8KdL8U+ogkBGJ Cancel-Lock: sha1:hiuZIIcUD7KDcus6LutWGcT2ygQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130326 Thunderbird/17.0.4 In-Reply-To: Xref: csiph.com comp.lang.php:8871 On 27/03/13 03:14, Jim Higgins wrote: > On Tue, 26 Mar 2013 14:50:20 -0700, in > <3bednVqnL5qAhc_MnZ2dnUVZ_q6dnZ2d@supernews.com>, Cal Dershowitz >> I have simple questions at this point: how do you try something new on >> your server without stomping all over the last thing that worked? > > > Let's say the page you want to work on is named ORIGINAL.PHP. You > make a copy of that file and you call it something like > ORIGINAL.PHP.BAK. Then you work on ORIGINAL.PHP. If you need more > copies og that original, you can append a date or a letter or whatever > after BAK to differentiate them. I would say this is a medieval method and sadly I have seen this done by consults who been working on web sites. I do not recommend this method, use git or similar to keep track of files and it even allow you fast switch between branches where you test different things. http://wiki.freegeek.org/index.php/Git_for_dummies http://www.ralfebert.de/tutorials/git/ far easier to just do a "git checkout index.php" if you want to revert to the old version and you do not have to worry that you by mistake edited a file without making a "BAK/BUP" copy of it. -- //Aho