| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
the one who was
Super #1
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
|
Not quite sure I understand fully. Are you trying to hide the subdirectory from view? If so, wouldn't a subdomain work just fine?
If you want to do the redirect through a php script the code would look something like this. header("Location: http://something.somesite.com"); If you have any <HTML> or <HEAD> tags before that section of the script, then you need to put the following line at the top of your script: <? ob_start(); ?> ... and this line at the bottom: <? ob_end_flush(); ?>
__________________
Patrick Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org |
|
|
|
|
#2 (permalink) |
|
Registered User
Super #1
Joined in Jul 2003
Lives in So. NJ
1,557 posts
Gave thanks: 0
Thanked 9 times
|
It sounds like a redirect in the index.html of the subdirectory pointing to the subdomain. The redirect should send the request to the index.htm (or wherever else).
Otherwise we have a loop right? |
|
|
|
|
#3 (permalink) |
|
the one who was
Super #1
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
|
So its specifically those links you are trying to alter? I don't think that could be done without actually hijacking the persons browser (not quite ethical), or convincing surpass to change all their internal links... Once the person leaves your site, you lose control over them.
__________________
Patrick Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org |
|
|
|
|
#5 (permalink) |
|
the one who was
Super #1
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
|
Oh, you're doing the surpasshelp.com now? I wasn't aware of that... All this wasted typing for that..
![]()
__________________
Patrick Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org |
|
|