1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

modification of cpa redirector 2 ( php ) , help wanted

Discussion in 'Black Hat SEO' started by exXtr@, May 20, 2010.

  1. exXtr@

    exXtr@ Power Member

    Joined:
    Aug 27, 2009
    Messages:
    526
    Likes Received:
    246
    Occupation:
    IM
    Location:
    Belgium
    hi guys , I am in the progress of writing a modification on cpr2 ( the standalone version ) . So I can have multiple offers on one page. What I did was put all the offer links in an array and then have it depend on what magic number you choose to what offer it diverts to. Now the problem is, it somehow doesn't go to the offer but just stays on the site. Could someone that's good at php check my script out and tell me what's wrong ? I think it has to do with the array or something. thx

    script in attachment ( change index.doc to index.php )

    thx a lot
     

    Attached Files:

  2. exXtr@

    exXtr@ Power Member

    Joined:
    Aug 27, 2009
    Messages:
    526
    Likes Received:
    246
    Occupation:
    IM
    Location:
    Belgium
    yeah it's usefull for a lot of things , i think I know where the prob is at but can't get it fixed. if I use this : $magic_number = $_GET['mn']; it doesn't seem to work. but if i use this : $magic_number = 1;
    and 1 can be any number, just so I ain't using the variable then it works. tried converting $magic_number to a integer but it still doesn't work. so it seems to me php is having probs in the if functions when $magic_number is variable

    just weird :(
     
  3. ru ru

    ru ru Junior Member

    Joined:
    Mar 23, 2009
    Messages:
    109
    Likes Received:
    30
    how do you call the script?

    Code:
    index.php?mn=123
     
  4. exXtr@

    exXtr@ Power Member

    Joined:
    Aug 27, 2009
    Messages:
    526
    Likes Received:
    246
    Occupation:
    IM
    Location:
    Belgium
    yeah exactly , sorry if that wasn't clear. thought most ppl know about the script. although its index.php?mn=1 , number can't be that big ...
     
  5. exXtr@

    exXtr@ Power Member

    Joined:
    Aug 27, 2009
    Messages:
    526
    Likes Received:
    246
    Occupation:
    IM
    Location:
    Belgium
    issues resolved , plz go to the download section for the full script
     
    • Thanks Thanks x 1
  6. karakim

    karakim Newbie

    Joined:
    Jul 3, 2010
    Messages:
    7
    Likes Received:
    1
    I need help with cpa redirector, have tried everything but am new to wordpress, please help me- do I just need a wordpress account or hosting? or both? and how do I set up- I have already read the forums and gone to the cpa redirector site and read all that info still don't know how please advise thanks