Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8871

Re: can't get includes to load

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: can't get includes to load
Date 2013-03-27 07:53 +0100
Message-ID <arfjc4Fgi12U1@mid.individual.net> (permalink)
References <H4qdnb_BO5pZ2MzMnZ2dnUVZ_oOdnZ2d@supernews.com> <ard4vmFub4uU1@mid.individual.net> <3bednVqnL5qAhc_MnZ2dnUVZ_q6dnZ2d@supernews.com> <oik4l8p0ba3bul14o0ohu58ad1l3opae1d@4ax.com>

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-03-25 23:52 -0700
  Re: can't get  includes to load "J.O. Aho" <user@example.net> - 2013-03-26 09:36 +0100
    Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-03-26 14:50 -0700
      Re: can't get  includes to load Jim Higgins <ILikeMy@Privacy.bogus> - 2013-03-27 02:14 +0000
        Re: can't get  includes to load "J.O. Aho" <user@example.net> - 2013-03-27 07:53 +0100
          Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-03-27 02:35 -0700
            Re: can't get  includes to load "J.O. Aho" <user@example.net> - 2013-03-27 11:00 +0100
              Re: can't get  includes to load "J.O. Aho" <user@example.net> - 2013-03-27 11:03 +0100
              Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-03-28 00:17 -0700
                Git (Was: can't get  includes to load) "J.O. Aho" <user@example.net> - 2013-03-28 08:35 +0100
                Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-03-28 00:41 -0700
                Git (Was: can't get  includes to load) "J.O. Aho" <user@example.net> - 2013-03-28 09:34 +0100
                Re: Git (Was: can't get  includes to load) Cal Dershowitz <cal@example.invalid> - 2013-03-29 00:28 -0700
                Re: Git (Was: can't get  includes to load) "J.O. Aho" <user@example.net> - 2013-03-29 13:14 +0100
                Re: Git (Was: can't get  includes to load) Cal Dershowitz <cal@example.invalid> - 2013-03-31 00:31 -0700
                Re: Git (Was: can't get  includes to load) "J.O. Aho" <user@example.net> - 2013-03-31 11:54 +0200
        cleaning up first php page was Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-03-27 00:00 -0700
          Re: cleaning up first php page was Re: can't get  includes to load "J.O. Aho" <user@example.net> - 2013-03-27 09:06 +0100
            Re: cleaning up first php page was Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-04-04 01:48 -0700
              Re: cleaning up first php page was Re: can't get  includes to load Cal Dershowitz <cal@example.invalid> - 2013-04-04 01:52 -0700
              Re: cleaning up first php page was Re: can't get  includes to load Jerry Stuckle <jstucklex@attglobal.net> - 2013-04-04 08:57 -0400
        Re: can't get  includes to load Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-27 09:08 +0100

csiph-web