English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

yours truly knows rudimentary HTML & CSS ...


problem:

how to, *auomagically*, grab and display (to web surfers,)
the URL of the page (mine) they are surfing ?

i develop/maintain hundreds of web pages;
so it is not practical for me to enter/update the name of each & every such web page.

would pefer a generic code snippet that i cut and paste to the top
of every page's body
(or even to every pages's title/head;
but that request would border on dreaming or pushing my luck)

i read things i could not fathom/syntehsize, like:

htmlwrite
document.getelement
-
help much appreciated
and happy holidays !

2006-12-22 05:34:43 · 3 answers · asked by baaa000 1 in Computers & Internet Internet

3 answers

You should get into PHP. That way you can "save" your page in a database and call it when necessary. You put the same code on every page and if you need to change your page, you change it in the database and it will change everything.

2006-12-22 05:47:25 · answer #1 · answered by James 3 · 0 0







Oh boy...idk. I took a hard code class last year, but it was just the basic stuff. I forgot everything.

2006-12-22 05:37:33 · answer #2 · answered by OwNaGeR 3 · 0 0



That will print the link at the top of the page. Put it anywhere in the body section and it will spit it out.

-Kerry

2006-12-22 05:43:22 · answer #3 · answered by tiamat2012 2 · 2 0

fedest.com, questions and answers