Re: Problem with Include
| From: | David Hutto | Date: | Tue, 21 Dec 2010 08:02:22 +0000 |
| Subject: | Re: Problem with Include | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310183@lists.php.net to get a copy of this message | ||
On Tue, Dec 21, 2010 at 2:48 AM, Ravi Gehlot <ravi@ravigehlot.net> wrote:
> My point is that you tried to
Not me personally.
take code from one page and put it all
> "organized" in another page and the include that page of includes back into
> the pages that you want it to feed off from. If stuff works the way that it
> does then there a reason for it to have been done that way.
By the original designer, but maybe not the OP.
That's why
> documenting code is so important. 99% doesn't do it (including me).
>
For you, others, and for self, it's more than important, it can be
essential, especially if you're trying to keep up with multiple
languages, OS's, and platforms.
> Ravi.
>
>
> On Tue, Dec 21, 2010 at 2:35 AM, David Hutto <smokefloat@gmail.com> wrote:
>>
>> On Tue, Dec 21, 2010 at 2:29 AM, Ravi Gehlot <ravi@ravigehlot.net> wrote:
>> > Why mess with something that is already working? If you are trying to
>> > make
>> > it pretty then you are not solving a problem. You are creating one.
>>
>>
>> Define working. I've had programs 'work', but more experienced would
>> say it's flawed in some respect. Does it perform the immediate task?
>>
>> Now define pretty. Is it aesthetically pleasing to you, or to someone
>> else with less, or maybe more experience.
>>
>> By defining the two above, you then define whether it's a problem. To
>> you, or to them, or to the original designer?
>>
>> >
>> > Ravi.
>> >
>> >
>> > On Mon, Dec 20, 2010 at 7:40 AM, Daniel P. Brown
>> > <daniel.brown@parasane.net>wrote:
>> >
>> >> On Mon, Dec 20, 2010 at 02:49, Simcha Younger <simcha@syounger.com>
>> >> wrote:
>> >> >
>> >> > Since it is being included by PHP, and not served by Apache, the
>> >> extension is not important.
>> >>
>> >> Correct, but keep in mind that it will likely be served as plain
>> >> text if accessed directly, if the web server is not properly
>> >> configured (which, by default, it isn't).
>> >>
>> >> --
>> >> </Daniel P. Brown>
>> >> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
>> >> (866-) 725-4321
>> >> http://www.parasane.net/
>> >>
>> >> --
>> >> PHP General Mailing List (http://www.php.net/)
>> >> To unsubscribe, visit:
>> >> http://www.php.net/unsub.php
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> They're installing the breathalyzer on my email account next week.
>
>
--
They're installing the breathalyzer on my email account next week.