modification of cpa redirector 2 ( php ) , help wanted

DexterShop

Power Member
Jr. VIP
Joined
Aug 27, 2009
Messages
573
Reaction score
264
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
 

Attachments

this sounds perfect for a project I'm about to do..
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 :(
 
how do you call the script?

Code:
index.php?mn=123
 
how do you call the script?

Code:
index.php?mn=123
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 ...
 
issues resolved , plz go to the download section for the full script
 
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
 
Back
Top