View previous topic :: View next topic |
does forums.node1.tk take you to my forums page? |
yes |
|
62% |
[ 5 ] |
no |
|
25% |
[ 2 ] |
other, please explain |
|
12% |
[ 1 ] |
|
Total Votes : 8 |
|
Author |
Message |
Techno_Mage -
Joined: 09 May 2004 Posts: 57
|
Posted: Mon May 17, 2004 3:16 am Post subject: help me test my subdomain script. |
|
|
I'm testing a script right now that allows me to use forums.node1.tk and I've found out it works for some people and not for others so I'd like to get an overall view of how many people it works for and how many it doesn't...
so if you click this link it should take you to my forums...
http://forums.node1.tk/
if it doesn't work for you does it give you an error or take you to my homepage...
http://node1.tk/
Thanks for helping me test this. _________________ Regards,
TechnoMage
www.arenax.tk
ut2004://66.46.116.232:8888
Unreal Tournament 2004 RPG DM server.
Last edited by Techno_Mage on Mon May 17, 2004 3:54 am; edited 1 time in total |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon May 17, 2004 3:25 am Post subject: |
|
|
Quote: | Notice: Undefined index: HTTP_REFERER in C:\Program Files\Abyss Web Server\htdocs\index.php on line 23
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:23) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 43 |
But you knew that... _________________ Bienvenidos! |
|
Back to top |
 |
 |
Techno_Mage -
Joined: 09 May 2004 Posts: 57
|
Posted: Mon May 17, 2004 3:53 am Post subject: |
|
|
so does that error mean anything to you? does it give any clues as to what's wrong?
here's line 23...
Code: | if ($_SERVER['HTTP_REFERER'] == "http://forums.node1.tk/") { |
hey, nice site iNaNimAtE I like the layout and stuff... I browsed around a little..
oh, one other thing... does node1.tk work for you and take you to my homepage? _________________ Regards,
TechnoMage
www.arenax.tk
ut2004://66.46.116.232:8888
Unreal Tournament 2004 RPG DM server. |
|
Back to top |
|
 |
eznetlinks -
Joined: 27 Sep 2003 Posts: 144
|
Posted: Mon May 17, 2004 4:14 am Post subject: |
|
|
add this after <?
ini_set("display_errors", 0);
that will take care of the error on line 23 |
|
Back to top |
|
 |
Techno_Mage -
Joined: 09 May 2004 Posts: 57
|
Posted: Mon May 17, 2004 4:37 am Post subject: |
|
|
like this?
Code: | <?php
ini_set("display_errors", 0);
/*
Bluedog's Multiple Domain PHP Script
This script was created to help Abyss Web Server users so that they could host more than one site using
different domains and so I made it easier to program this script for their domains by creating a easy to use
site creator that can insert new domains instantly after hitting Submit Me!. Enjoy the script!
*/
//get domain entered in browser
if ($_SERVER['HTTP_REFERER'] == "http://forums.node1.tk/") {
//forward to appropriate page
header("Location : /forums");
exit;
}
//get domain entered in browser
if ($_SERVER['HTTP_HOST'] == "") {
//forward to appropriate page
header("Location : /");
exit;
}
//end duplicating, insert below.
//else show Main Page
else {
header("Location : /main.php");
exit;
}
?>
|
is that the right place? if so, does it work now? _________________ Regards,
TechnoMage
www.arenax.tk
ut2004://66.46.116.232:8888
Unreal Tournament 2004 RPG DM server. |
|
Back to top |
|
 |
stord2000 -
Joined: 13 May 2004 Posts: 4
|
Posted: Mon May 17, 2004 5:13 am Post subject: homepage |
|
|
It took me to your home page so something is working |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon May 17, 2004 5:17 am Post subject: |
|
|
Both forums.node1.tk and node1.tk take me to your front page.
And thank you for the website compliment. _________________ Bienvenidos! |
|
Back to top |
 |
 |
Techno_Mage -
Joined: 09 May 2004 Posts: 57
|
Posted: Mon May 17, 2004 5:19 am Post subject: |
|
|
iNaNimAtE wrote: | Both forums.node1.tk and node1.tk take me to your front page.
And thank you for the website compliment. |
so I take it your not seeing the error anymore? _________________ Regards,
TechnoMage
www.arenax.tk
ut2004://66.46.116.232:8888
Unreal Tournament 2004 RPG DM server. |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon May 17, 2004 5:21 am Post subject: |
|
|
No, I do not see the error, however I do not get redirected. But I would still call it an improvement. _________________ Bienvenidos! |
|
Back to top |
 |
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon May 17, 2004 5:34 am Post subject: |
|
|
I get redirected to different areas of your
website , forum goes to forum and home
page goes to your home page , it works.
Note: I tested this in
Internet Explorer 6 |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon May 17, 2004 6:16 am Post subject: |
|
|
I tried in IE6 and no luck.
It seems that I am the only person who does not get redirected, so I don't think you need to worry about it. It must be some odd configuration on my end. _________________ Bienvenidos! |
|
Back to top |
 |
 |
|