Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-27-2005, 02:50 AM   #1
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
small PHP question [pls help!]

Id like to see if an aff code is there or not for a test, but with my C64 programmaing capabilities Im not getting there Pls help...


http://refer.ccbill.com/cgi-bin/clic...y.com/test.php

This is in the test.php:

<?php

if (PA = = 0) {
echo "AFF CODE NOT THERE";
} else {
echo "AFF CODE THERE";
}
?>

It needs to print AFF CODE THERE when the &PA=999999 or so and if PA isnt there (zero) it needs to print AFF CODE NOT THERE. I know the = = have a space but otherwise the haha codes comes in...

Any 2 cents?

thanks!

Bob
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 02:53 AM   #2
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
use
Code:
$_GET['PA']
instead of just PA
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 02:54 AM   #3
Jakke PNG
ex-TeenGodFather
 
Jakke PNG's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
hmm.. I'm no guru by any stretch of imagination..but if your page is on strawberrysandy.com and the variable goes to refer.ccbill.com domain, I don't think it'll carry on to strawberrysandy.
__________________
..and I'm off.
Jakke PNG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 02:54 AM   #4
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
also, instead of
= = you should use
Code:
if(isset($_GET['PA']))
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 02:55 AM   #5
Jakke PNG
ex-TeenGodFather
 
Jakke PNG's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
however darksoul seems to have more clue than me..so maybe you ought to listen to him instead.
I suck at teh interwebs
__________________
..and I'm off.
Jakke PNG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 02:56 AM   #6
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Quote:
Originally Posted by TeenGodFather
hmm.. I'm no guru by any stretch of imagination..but if your page is on strawberrysandy.com and the variable goes to refer.ccbill.com domain, I don't think it'll carry on to strawberrysandy.
you're right missed that.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 02:57 AM   #7
Jakke PNG
ex-TeenGodFather
 
Jakke PNG's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
Quote:
Originally Posted by darksoul
you're right missed that.
Goddamn! Didn't see that one coming. Sweet. I rock.
__________________
..and I'm off.
Jakke PNG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 03:01 AM   #8
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
Quote:
Originally Posted by darksoul
you're right missed that.
yeah doesnt work... shoot it should be possible somehow...

Basically what I want is to be able to print a link on a .html site when theres NO aff code and when there IS it needs to be remove.

Some aff hate the bloglink so I want that to be removed automatically when an aff send the link. When its a typein it can be there.

Any more 2 cents?
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 03:10 AM   #9
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Quote:
Originally Posted by uproared
Impossible using standard CCBILL links.
not really, they have the option to pass you back any variable you set.

I don't have the api's at hand right now but I'll take a look when I get home.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 03:12 AM   #10
Jakke PNG
ex-TeenGodFather
 
Jakke PNG's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
Quote:
Originally Posted by darksoul
not really, they have the option to pass you back any variable you set.

I don't have the api's at hand right now but I'll take a look when I get home.
As far as I know they only send info about signups.. not other data. Unless you put up a datalink when you get rebills and chargebacks and such, I doubt there's a way to get non-signup related info from them.
__________________
..and I'm off.
Jakke PNG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 03:14 AM   #11
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
hmm shame, so the only way to enable that would like adding

www.strawberrysandy.com/test.php&blog=off

or so?

darksoul can you shoot me an icq to see if you can solve this? 16 91 547 thanks!
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 03:18 AM   #12
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Quote:
Originally Posted by TeenGodFather
As far as I know they only send info about signups.. not other data. Unless you put up a datalink when you get rebills and chargebacks and such, I doubt there's a way to get non-signup related info from them.
we're talking about click tracking here tho which they do provide
the HTML var can not only contain an url but variables too.
so you can put:
HTML=http://www.domain.com/?VAR=VALUE&VAR2=XXX
this variables are usually populated by you when the user click
but some can be populated by ccbill. I have to lookup their api.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 03:25 AM   #13
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
thanks for hitting me up!
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 04:43 AM   #14
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Why don't you just get people to send to a different URL? You can include("...") the original content.

eg, you could name a file tournoblog.php and put something like this in it:

<?php
$noblog = 1;
include "tour.php";
?>
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 06:37 AM   #15
gornyhuy
Chafed.
 
gornyhuy's Avatar
 
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
Cheers to GFY for an actual useful technical discussion... Let us know if you figure it out.
__________________

icq:159548293
gornyhuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-27-2005, 07:16 AM   #16
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
Quote:
Originally Posted by uproared
As I mentioned above, if you're using 'standard' ccbill links it is not possible. If you add variables to the end of target url then obviously they will be passed through. It's impossible to access the variables sent to ccbill (namely the wm and affliate IDs).

The API is only relevant for sales.
got that reply too... gotta think over the whole thing come up with another solution...
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.