Re: Problem with Include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 21, 2010 at 2:48 AM, Ravi Gehlot <ravi@xxxxxxxxxxxxxx> 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@xxxxxxxxx> wrote:
>>
>> On Tue, Dec 21, 2010 at 2:29 AM, Ravi Gehlot <ravi@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxx>wrote:
>> >
>> >> On Mon, Dec 20, 2010 at 02:49, Simcha Younger <simcha@xxxxxxxxxxxx>
>> >> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux