![]() |
![]() |
![]() |
||||
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 |
Fake Nick 1.0
Industry Role:
Join Date: Oct 2005
Location: Rent free, your head
Posts: 27,652
|
What's a script that will..
We have around 500 names parked on 1 site and want a script to detect the domain a surfer arrives on and display that that name as the text/logo? We would be willing to pay for an actual logo that would change the name as well similar to the geo targeted banners. If you can do the later send me an email to sales (@) namenetwork.com to discuss.
__________________
PLEASE WAIT WHILE BIDEN ADMIN UNINSTALLS ITSELF..... ██████████████████▒ 99.5% complete. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
You can link all the domains to one place on your server with a single index.php, and just pull the current domain name out of $_SERVER
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Fake Nick 1.0
Industry Role:
Join Date: Oct 2005
Location: Rent free, your head
Posts: 27,652
|
Quote:
![]()
__________________
PLEASE WAIT WHILE BIDEN ADMIN UNINSTALLS ITSELF..... ██████████████████▒ 99.5% complete. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
On that index.php, put
<?php echo $_SERVER['HTTP_HOST']; ?> That will print out the name of the domain you are on. You can then do something like: <img src='/images/<?php echo $_SERVER['HTTP_HOST']; ?>.jpg'> for instance to pull a custom logo for that site, or grab <?php echo $_SERVER['HTTP_HOST']; ?>.css to load a different template, or whatever. That's a really simplified version of the idea but you should be able to elaborate from there.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
<?
$array = array( "www.domain1.com" => "Site Name1", "www.domain2.com" => "Site Name2", "www.domain3.com" => "Site Name3" ); ?> <img src="/logos/<? echo $_SERVER[HTTP_HOST]; ?>.jpg"><br> Welcome to <? echo $array[$_SERVER[HTTP_HOST]]; ?>
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Industry Role:
Join Date: Feb 2005
Posts: 1,225
|
What he said
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Fake Nick 1.0
Industry Role:
Join Date: Oct 2005
Location: Rent free, your head
Posts: 27,652
|
I'll fuck around with it tomorrow or Sat. Send me your paypal info to sales (@) namenetwork.com. Whoever solves my problem first gets some drinking money.
__________________
PLEASE WAIT WHILE BIDEN ADMIN UNINSTALLS ITSELF..... ██████████████████▒ 99.5% complete. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
Don't worry about
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
If you still need help with it, hit me up icq: 33375924, or shoot me an email woj at wojfun dot com
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |