Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Support > Force the site to opening in PostWrap


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Force the site to opening in PostWrap

Newbie





Posts: 3
Registered: 2/6/2003
Status: Offline

  posted on 2/21/2003 at 01:04 PM
Hi!

Is there a possibility to check if a site is called with postwrap?

If users go to sites I have included in postnuke with postwrap directly, I want to redirect them to the same site in postwrap.

For example:
If someone goes to
http://www.hiphoplager.de/hiphop/platte/597/platte.html
he should be redirected to
http://datenbank.hiphoplager.de/portal/modules.php?op=modlo ad&name=PostWrap&file=index&page=http://www.hiphoplager.de/hiph op/platte/597/platte.html

I think I have to check the $REQUEST_URI ??? Is there an easier way to reach this?

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Offline

  posted on 3/10/2003 at 07:11 PM
Sounds like you're on the right track. Try that or a combination of some of the other $_SERVER vars.

I haven't done this, but it may be necasary to use some JS to see if the page is in an iframe.

-Shawn

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 180

Powered by the AutoTheme HTML Theme System
Page created in 0.108160 Seconds