The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

NEED a bit of help from PHP expert (should be easy)

I posted this on the vBulletin forums as well, hopefully someone can help me here. I would appreciate any help.

Hi guys,

I've set up a script on our forums to track all outgoing clicks. Right now, any url that is posted on our forums automatically goes through a goto.php file, which logs where the user is going, and automatically redirects them there.

What I'd *LIKE* to have is something similar to Hotmail, where the window that opens up for the user has a small frame at the top, which says "You are visiting a site outside of XYZ, click here to return to XYZ, etc. and the url they're going to would open in the lower frame.

The following is the code from the goto.php file. I'd appreciate if someone could point me in the right direction on how to get this done. I have *NO CLUE* about php, so I'd need to know exactly what to add/remove?

Becareful of the legal ramifications of your chosen method. Nowhere do you have a link to close that farme, in essence you are hijcaking others sites' and displaying within your frameset. Most small sites prolly won't care, but I guarantee someone like amazon or yahoo, is not going to be too thrilled with your setup, that is if anyone links to them from your forums.

Please don't PM me with questions.
Use the forums, that is what they are here for.

We're going to add a "remove this frame" link over the next few days, but we haven't had a single problem yet with merchants being inside a frame (99% of links from the main http://www.bigbigsavings.com website are inside a frame). We'll see how it goes, thanks for the reminder.

Don't forget the users of your site, are not the ones who are gonna be pissed, they prolly don't even realize its going on. But if the website owner whose site is being stuck within your frame finds out, thats when the potential problems can occur. I know if I found out you were using my site for free advertising without my permission I would be pissed.

Please don't PM me with questions.
Use the forums, that is what they are here for.

It actually works the OTHER way. We always get companies trying to post on our forums to GET free advertising. We don't advertise for any of the companies that are posted about in our forums. Plus, this way users know that they're outside of bigbigsavings.com and won't be asking us for help on sites that are posted in the forum (happens often).