FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » can't get includes to load
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: can't get includes to load [message #180934 is a reply to message #180932] Wed, 27 March 2013 06:53 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
On 27/03/13 03:14, Jim Higgins wrote:
> On Tue, 26 Mar 2013 14:50:20 -0700, in
> <3bednVqnL5qAhc_MnZ2dnUVZ_q6dnZ2d(at)supernews(dot)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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mysql dynamic binding and pass-by-ref deprecated
Next Topic: Java conferences in India...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 01:29:58 GMT 2024

Total time taken to generate the page: 0.05425 seconds