Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8873
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: cleaning up first php page was Re: can't get includes to load |
| Date | 2013-03-27 09:06 +0100 |
| Message-ID | <arfnkvFheqeU1@mid.individual.net> (permalink) |
| References | <H4qdnb_BO5pZ2MzMnZ2dnUVZ_oOdnZ2d@supernews.com> <ard4vmFub4uU1@mid.individual.net> <3bednVqnL5qAhc_MnZ2dnUVZ_q6dnZ2d@supernews.com> <oik4l8p0ba3bul14o0ohu58ad1l3opae1d@4ax.com> <hJqdnQmwLeGRBM_MnZ2dnUVZ_oednZ2d@supernews.com> |
On 27/03/13 08:00, Cal Dershowitz wrote: > On 03/26/2013 07:14 PM, Jim Higgins wrote: >> 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. Just a reminder, use git instead of making backup files. > What is a person supposed to do about the fact that if you just type in > www.merrillpjensen.com , you get the old index.html? Should I just > re-direct that to a php version? Delete the index.html and problem solved. Another case, as you seem to give out a link with index.* it can be good to use the apache rewrite module to redirect those who try to access the index.html file directly, in your .htaccess you could have something like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ /index.php [L] Haven't tested it, so in worst case you need to make some tiny changes. > Also taking any and all suggestions* on how to make this start looking > like a webpage that you would show a client. You maybe want to look at a CMS and just make a theme for it and then add on your own plugins to do things you want it to do and no one else has already done, then you don't have to reinvent the wheel. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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