![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
I need some code that places the site url on the page...
I am creating a parked page for my shit...just a generic page that has all the search shit and all that...similar to godaddy's parked page
anyway, i need a piece of code that will place the www.domain.com on the page wherever I place the code, including the title so, it is dynamic, wherever I place the code the url of the site will show up |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2004
Location: NC
Posts: 8,323
|
Do an include there. ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2004
Location: NC
Posts: 8,323
|
I think the page has to be .shtml for includes and your server has to have SSI turned on also...I think...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
but what type of include, how would it look? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2004
Location: NC
Posts: 8,323
|
I think it would be something like
Code:
<!--#include file="thisfile.txt" --> Like if you had the text file in a folder called "misc" the code whereever you want to include it would look like Code:
<!--#include file="/misc/thisfile.txt" --> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
doesn't seem right |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Apr 2004
Location: NC
Posts: 8,323
|
Quote:
I thought you meant you wanted the same URL to appear on 100's of pages...my bad man. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Zph7YXfjMhg
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,304
|
Code:
<SCRIPT language="JavaScript"> <!-- loc=location.href; document.write(loc) //--> </SCRIPT> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
<SCRIPT language="JavaScript">
<!-- loc=location.href; document.write(loc) //--> </SCRIPT> PERFECT! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
shit, that last one won't allow it in the title bar
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,114
|
<? print $_SERVER[SERVER_NAME]; ?>
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
<SCRIPT language="JavaScript">
<!-- loc=location.href; document.write(loc) window.document.title=loc; //--> </SCRIPT> that should do it.
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,114
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |