Virgilio Quilario wrote:
I'm working on learning php and have been toying with includes, and I am
trying to figure the advantages/disadvantages to using them.
I know that using them eliminates the need to "put" the files once altered
as with a template, however, is that the only advantage.
My p
> I'm working on learning php and have been toying with includes, and I am
> trying to figure the advantages/disadvantages to using them.
>
> I know that using them eliminates the need to "put" the files once altered
> as with a template, however, is that the only advantage.
>
> My particular conce
At 1:06 PM -0400 3/8/09, Gary wrote:
I'm working on learning php and have been toying with includes, and I am
trying to figure the advantages/disadvantages to using them.
I know that using them eliminates the need to "put" the files once altered
as with a template, however, is that the only adva
Right. There are several advantages to using included files. You can
write routines that you're going to use repeatedly and just include the file
with the code, instead of re-inventing the wheel, as they say.
Consistency is another advantage. So, if you design your header, sidebar
and footer a
Gary wrote:
I'm working on learning php and have been toying with includes, and I am
trying to figure the advantages/disadvantages to using them.
I know that using them eliminates the need to "put" the files once altered
as with a template, however, is that the only advantage.
My particular
I'm working on learning php and have been toying with includes, and I am
trying to figure the advantages/disadvantages to using them.
I know that using them eliminates the need to "put" the files once altered
as with a template, however, is that the only advantage.
My particular concerns are wi
You are defining the vars after the header/title has already been
processed, put it before the head.php, and it should work
-Original Message-
From: Freedomware [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 3:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Includes and Echoes
From: "Freedomware" <[EMAIL PROTECTED]>
> I discovered that includes will apparently work just about anywhere, but
> echo functions apparently don't work with the tag and meta tags;
> at least, I can't see the word "Alaska" in those locations when I click
> View Source in my browser.
Look back o
I'm having a blast with PHP includes and echo functions; I never dreamed
they could be so simple and effective. But I have a couple questions
relating to head sections and search engines.
Consider the following html code:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.
Marek Kilimajer wrote:
Sure you can, but I would not open a tag in one file, and close the tag
in another. This makes code very unreadable, the errors are hard to find
and also the code is not reusable.
Hm That's a good point.
Maybe I'll take another look at layers, as the table design
Freedomware wrote:
My first question is really trivial, but I noticed that Dreamweaver
likes to display my PHP includes code like this...
When I do a search and replace function, it often jumps onto another
element's line, like this:
I changed the code to this:
My first question is really trivial, but I noticed that Dreamweaver
likes to display my PHP includes code like this...
When I do a search and replace function, it often jumps onto another
element's line, like this:
I changed the code to this:
and it seems to w
thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Saturday, December 7, 2002, 7:15:38 AM, you wrote:
>> ini_set
G> ("include_path","/path/to/local/includes:"ini_get("include_path"));
>>
>> Then no matter what directory you are in you can just include("filename");
>>
>> --
>> regards,
>> Tom
>>
G> Thank you. This should work, but I have one
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> Friday, December 6, 2002, 11:06:36 AM, you wrote:
> G> I have a hosted account. As such, I am unable to use the default
location
> G> for files when used with the include command. So could somebody tell me
how
>
On Thu, 5 Dec 2002, Gundamn wrote:
> I have a hosted account. As such, I am unable to use the default location
> for files when used with the include command. So could somebody tell me how
> I can either make it go to a different directory, or to link to something
> (and how to add the variable as
I have a hosted account. As such, I am unable to use the default location
for files when used with the include command. So could somebody tell me how
I can either make it go to a different directory, or to link to something
(and how to add the variable as the filename)?
Thank you in advance.
--
cuments with EditPad, and the
> site is updated the same way Dreamweaver would have updated the pages.
>
> Robert V. Zwink
> http://www.zwink.net/daid.php
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of George Whiffen
>
nk.net/daid.php
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of George Whiffen
Sent: Thursday, September 06, 2001 1:20 PM
To: Robert V. Zwink
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] php includes === Dreamweaver library items
Robert,
Your time and trouble in go
t; a templating system, and I'm sure there are countless others. Templates
> seem to be adopted by experieced programmers more often than not. I haven't
> even mentioned the advantages of CachedFastTemplate which is reason alone to
> use templates.
>
> If you decide to try i
dvantages of CachedFastTemplate which is reason alone to
use templates.
If you decide to try it out, I'm happy to relay my experiences.
Robert V. Zwink
http://www.zwink.net/daid.php
-Original Message-
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 2:
gt; http://www.phpbuilder.com/columns/sascha19990316.php3
> for more information.
>
> I hope this helps.
>
> Robert Zwink
> http://www.zwink.net/daid.php
>
> -Original Message-
> From: George Whiffen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 0
lumns/sascha19990316.php3
for more information.
I hope this helps.
Robert Zwink
http://www.zwink.net/daid.php
-Original Message-
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php includes === Dreamweaver
Hi,
Has anyone experience of using Dreamweaver library item files (.lbi)s as
php includes?
We've got a standard header and footer to go across all pages on a site with
the navigation etc. We want both the designers, (using Dreamweaver), and the
php programmers to have access to these includes,
24 matches
Mail list logo