simple question

L

Leo Baumann

hi,

at my web sites, web1144.server19.greatnet.de, i have a lot of links to my
e-mail-address.

The question is:

Is ist possible to define the e-mail-address only one time in a variable,
and use this variable at all my sites, so that i only have to change the
definition, if the address changes ?

Thanks for help

baumann engineering
 
R

Roy Schestowitz

Leo said:
hi,

at my web sites, web1144.server19.greatnet.de, i have a lot of links to my
e-mail-address.

The question is:

Is ist possible to define the e-mail-address only one time in a variable,
and use this variable at all my sites, so that i only have to change the
definition, if the address changes ?

Thanks for help

baumann engineering

If all pages static HTML, then you will have a problem. If, however, you are
willing to add JavaScript or convert the pages to PHP, then you'll have the
possibility of defining your E-mail address 'outside'.

Roy
 
R

Richard

i think i have to put the address into an external text-file ...
thanks ...


Problem is, you'd still have to reference the file on each and every page at
each domain where you want it to be seen.
But once you've coded in the reference page, you'll only need to update the
originating page.
 
S

Spartanicus

Leo Baumann said:
Is ist possible to define the e-mail-address only one time in a variable,
and use this variable at all my sites, so that i only have to change the
definition, if the address changes ?

Before resorting to server side inclusion, consider the drawbacks such
as the needless use of server resources and caching issues.

Far to many people resort to various forms of server side inclusion
whilst a Search & Replace or the use of a preprocessor are equally
capable of doing such a task without any of the drawbacks of server side
inclusion.

What prevents people from considering S&R is unfamiliarity with software
that offers a good multi line, multiple files, directory wide (with sub
dir option), scripting and/or regexp's supporting S&R tool where common
S&R operations can be saved.
 
R

Roy Schestowitz

Richard said:
Problem is, you'd still have to reference the file on each and every page
at each domain where you want it to be seen.
But once you've coded in the reference page, you'll only need to update
the originating page.

Leo,

Why not create a page which contains your E-mail address (or more preferably
a contact form which prevents spam) and just refer to that page from all
other pages?

Otherwise, you might want to consider E-mail forwarding as well.

Roy
 
L

Lauri Raittila

Before resorting to server side inclusion, consider the drawbacks such
as the needless use of server resources and caching issues.

Far to many people resort to various forms of server side inclusion
whilst a Search & Replace or the use of a preprocessor are equally
capable of doing such a task without any of the drawbacks of server side
inclusion.

S&R is also easier to get going, as you don't need to edit all your
existing files to get things going...
What prevents people from considering S&R is unfamiliarity with software
that offers a good multi line, multiple files, directory wide (with sub
dir option), scripting and/or regexp's supporting S&R tool where common
S&R operations can be saved.

Of course, when problem is just replacing email address, most of these
don't apply. Only feature that is needed is ability to do it for all your
files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top