New Posts
Welcome guest, is this your first visit?
  • Login:
MuchosPoker Affiliate Program
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Senior Member
    www.theaffiliatelife.com
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,604
    Blog Entries
    6
    Feedback Score
    32 (100%)

    Default Opening links in new windows when using PHP

    I guess like a lot of affiliates I use PHP scripts to keep track of clicks before sending players off to poker rooms.

    I'm currently using the Location: command which seems to just open links up in the same window as my site.

    Is there a way to amend this command so that rooms open up in a new window? I guess I'm looking for a PHP version of the "_blank" command in HTML.

    Cheers,
    If you liked my post, you might also like:

    Affiliate Blog: The Affiliate Life
    Twitter Feed: twitter.com/shortstackgames
    Facebook: facebook.com/shortstacksimon
    Pinterest: pinterest.com/slotgames

    Latest blog post: Actioning those ideas which will take your business to the next level

  2. #2
    Daysleeper
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    178
    Feedback Score
    16 (100%)

    Default

    it's not possible in php

    what you can do is print some javascript using php..

  3. #3
    Senior Member
    www.theaffiliatelife.com
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,604
    Blog Entries
    6
    Feedback Score
    32 (100%)

    Default

    So basically every time I use an HREF tag in my HTML, i need to put the _blank parameter in?
    If you liked my post, you might also like:

    Affiliate Blog: The Affiliate Life
    Twitter Feed: twitter.com/shortstackgames
    Facebook: facebook.com/shortstacksimon
    Pinterest: pinterest.com/slotgames

    Latest blog post: Actioning those ideas which will take your business to the next level

  4. #4
    Daysleeper
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    178
    Feedback Score
    16 (100%)

    Default

    yes. The solution you propose is to open a new window from a script, without an action from the user. This is a popup, and even if there was a solution, the popup would be blocked, since most internet users have popup blockers.


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. DW CS4 and Windows 7 Problem
    By CK in forum PAL Coffee Shop
    Replies: 0
    Last Post: 12-07-2009, 02:59 PM
  2. FTP Not Compatible With Windows 7?
    By CoolDog in forum PAL Coffee Shop
    Replies: 2
    Last Post: 11-05-2009, 10:03 AM
  3. Windows 7 - Anyone Upgrade Yet?
    By JeremyM in forum PAL Coffee Shop
    Replies: 14
    Last Post: 10-23-2009, 04:26 PM
  4. Bodog opening up to Canada
    By KevinMcC in forum General Poker Affiliate Forum
    Replies: 8
    Last Post: 06-27-2009, 05:52 PM
  5. Opening and editing a sql.gz file
    By Lenny in forum Wordpress - Web Design - Coding - Technical
    Replies: 3
    Last Post: 03-10-2009, 12:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.5
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0