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 #180937 is a reply to message #180932] Wed, 27 March 2013 08:08 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Jim Higgins wrote:

> Cal Dershowitz wrote:
>> 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.

Or you are a *responsible* *professional* Web developer.

Then you would use a local (private) Web server with a sufficiently similar
setup on which you test changes before you upload to the remote (public)
one. You would not upload files directly, but commit to a project
repository of a version control system (like SVN or git) allowing you to
roll back the remote version to a working state at any time should it turn
out that – then unlikely – something did not work remotely that did work
locally.

You would keep your commits atomic (changes that belong together go into the
same commit) and write commit comments so you would know what you changed
and where you changed it (and, if you are in a team, who made the change),
removing the need for a host of almost-duplicate files on the server that
only you know about (and have to reverse-engineer with manual diff what you
changed and why you changed it back then; and, if you are in a team, who
changed it).


HTH

PointedEars
--
Sometimes, what you learn is wrong. If those wrong ideas are close to the
root of the knowledge tree you build on a particular subject, pruning the
bad branches can sometimes cause the whole tree to collapse.
-- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom(at)94(dot)75(dot)214(dot)39>
[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: Sun Nov 24 06:02:11 GMT 2024

Total time taken to generate the page: 0.04294 seconds