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 Mark Forums Read
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 12-20-2011, 01:08 PM   #1
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
How do you PHP redirect based on Verotel cookie?

When surfers click "join" I want to use PHP to redirect all Verotel surfers to a Verotel signup page, to assure all my Verotel affiliates get sales credit. Anyone know the code do this?
__________________


Skype: CallTomNow


Last edited by Bladewire; 12-20-2011 at 01:12 PM.. Reason: QFT
Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2011, 01:10 PM   #2
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
whats a verotel surfer?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2011, 01:14 PM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
If the server comes in via a verotel.com link, the cookie is set at the verotel domain and you cannot access it at your domain.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2011, 01:15 PM   #4
garce
Confirmed User
 
garce's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
I don't know. But typing in stupid font colours and sizes is stupid.
garce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2011, 01:21 PM   #5
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Just use a different tour for different billers.

Just copy tour pages into "v" folder and change tour link in biller admin to domain.com/v

End of problem.
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2011, 01:33 PM   #6
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by blackmonsters View Post
Just use a different tour for different billers.

Just copy tour pages into "v" folder and change tour link in biller admin to domain.com/v

End of problem.
Good advice. I've been doing that. Just thought it would be easier having one version of my site and a simple redirect to a different signup page based on Verotel affiliate cookie.
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 10:11 AM   #7
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
bump bump
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 10:28 AM   #8
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
do you mean a surfer who has paid with verotel before? thats what it sounds like.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 11:04 AM   #9
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by fris View Post
do you mean a surfer who has paid with verotel before? thats what it sounds like.
I mean setting a cookie for surfers sent by a Verotel affiliate.

Instead of making a copy of my site for Verotel, when the Verotel affiliate surfer clicks join, the cookie is read, and they are sent to the Verotel signup page, instead of CCBill
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 11:29 AM   #10
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Quote:
Originally Posted by Squirtit View Post
I mean setting a cookie for surfers sent by a Verotel affiliate.

Instead of making a copy of my site for Verotel, when the Verotel affiliate surfer clicks join, the cookie is read, and they are sent to the Verotel signup page, instead of CCBill
Forget it!

You can't read the verotel cookie!

PERIOD!






The best you could do is make a verotel landing page that, when loaded, gives the
surfer your cookie that says "surfer=verotel".

But that means having a separate tour page which is exactly what you don't want to do.
So go ahead and copy the pages like I said because you are going to copy the page
no matter what you do.



Think about this :

What if you could read the verotel cookie on your site? Then you could also read
the surfer's bank cookie on your site.
And since that surfer was logged into his bank when he surfed your site
and his bank is using a cookie session to log the surfer into his account, you would be
able to read his cookie and create that cookie on your browser and then go to his
account and steal all of his money.

That doesn't happen because the surfer's browser will only send the bank's cookie to
the bank's domain.


Now. Don't make me come back into this thread again!
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 11:45 AM   #11
CHMOD
Confirmed User
 
CHMOD's Avatar
 
Join Date: Jun 2003
Posts: 1,697
Quote:
Originally Posted by Squirtit View Post
I mean setting a cookie for surfers sent by a Verotel affiliate.

Instead of making a copy of my site for Verotel, when the Verotel affiliate surfer clicks join, the cookie is read, and they are sent to the Verotel signup page, instead of CCBill

I have sent you an email. I can help you with that.
CHMOD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 12:10 PM   #12
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
i might tell you if you make your sig a bit smaller

__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 12:13 PM   #13
marlboroack
So Fucking Banned
 
Industry Role:
Join Date: Jul 2010
Location: ☣
Posts: 9,327
And what did verotel say when you asked them this.
marlboroack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 12:18 PM   #14
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 12:26 PM   #15
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Quote:
Originally Posted by marlboroack View Post
And what did verotel say when you asked them this.
I don't know what they would tell him but :

He can make his verotel landing link a script that sets his domain cookie
to "surfer=verotel" and then redirect to his regular tour and then have his join page
loaded by a script that reads his cookie and chooses the correct join form.

I just don't think that is less work than copying the tours.

If verotel has/had a "join page script" on their domain that would allow him to choose any
join form from his domain, then that script would work as the join page.

Only a verotel script on the verotel domain is going to be able to
read the actual cookie set by the verotel link though.
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 01:09 PM   #16
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Add to above :

If you do that then you need to track the IP address also
to load the correct form since surfers can have cookies disabled.
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 01:14 PM   #17
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
We're taking care of it for him.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2011, 03:14 PM   #18
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
I believe I can help
http://www.awmzone.com/services
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-22-2011, 06:09 PM   #19
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by raymor View Post
We're taking care of it for him.
Thanks Ray I appreciate it!

I sent a couple emails after our initial contact but no response. I think I'm in your spam folder
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2011, 10:42 AM   #20
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by Squirtit View Post
Thanks Ray I appreciate it!

I sent a couple emails after our initial contact but no response. I think I'm in your spam folder
I think I'm still in Ray's spam folder
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2011, 10:49 AM   #21
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
Quote:
Originally Posted by blackmonsters View Post
He can make his verotel landing link a script that sets his domain cookie
to "surfer=verotel" and then redirect to his regular tour and then have his join page
loaded by a script that reads his cookie and chooses the correct join form.
that's what I would do.
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2011, 10:51 AM   #22
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Quote:
Originally Posted by raymor View Post
We're taking care of it for him.
< OFF TOPIC>

Raymor great product. working with Ali on ours and its already saved us a ton.

Thanks


</ OFF TOPIC ?
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2011, 07:41 PM   #23
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by blackmonsters View Post
He can make his verotel landing link a script that sets his domain cookie to "surfer=verotel" and then redirect to his regular tour and then have his join page loaded by a script that reads his cookie and chooses the correct join form.
Yes this is what I'm looking for. Do you know where to get it?
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2011, 08:24 PM   #24
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Quote:
Originally Posted by Squirtit View Post
Yes this is what I'm looking for. Do you know where to get it?
I can make it for you.

hit me up : tube at econfirmpro dot com
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 12:51 AM   #25
CHMOD
Confirmed User
 
CHMOD's Avatar
 
Join Date: Jun 2003
Posts: 1,697
Quote:
Originally Posted by Squirtit View Post
Yes this is what I'm looking for. Do you know where to get it?
I have sent you 2 emails but you do not reply. I guess you do not really want to be helped.
CHMOD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 12:57 AM   #26
RonTheDon
Registered User
 
Industry Role:
Join Date: Dec 2011
Location: United States
Posts: 69
What I would do is get the HTTP_REFERER, parse it and store the data in a session cookie.

In PHP, I would use the session cookie data to compare against and decide which form to display.

If you're still having issues later, let me know.
__________________
ICQ: 609051050
RonTheDon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 01:17 AM   #27
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Quote:
Originally Posted by RonTheDon View Post
What I would do is get the HTTP_REFERER, parse it and store the data in a session cookie.

In PHP, I would use the session cookie data to compare against and decide which form to display.

If you're still having issues later, let me know.
The http referrer will be his affiliate's webpage. Not verotel or CCBill.

So you are going to compare the affiliate's referrer to what? A database of
affiliates that use verotel and CCBill and all links on their domains?

I don't think so.

He better just let me do this.
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 01:28 AM   #28
RonTheDon
Registered User
 
Industry Role:
Join Date: Dec 2011
Location: United States
Posts: 69
Quote:
Originally Posted by blackmonsters View Post
The http referrer will be his affiliate's webpage. Not verotel or CCBill.

So you are going to compare the affiliate's referrer to what? A database of
affiliates that use verotel and CCBill and all links on their domains?

I don't think so.

He better just let me do this.
My last post was what came to mind with the little information I had, or perhaps I missed something.

For a developer, something like this shouldn't be difficult at all and I'm sure you have it under control.
__________________
ICQ: 609051050
RonTheDon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 10:23 AM   #29
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by CHMOD View Post
I have sent you 2 emails but you do not reply. I guess you do not really want to be helped.
Thanks for the emails. I haven't posted my email address on here where did you send them? What was the title of the emails? I haven't received them. I searched my SpamArrest for keywords GFY , Chmod, & Ray no results. My ICQ is 265912752

I sent an email to Blackmonsters last night at 7:58 pm and waiting to hear back. The title of the email was "RE: PHP redirect based on Verotel cookie" I offered Ray $$$ to be helped too so yes I'm here to be helped
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 10:55 AM   #30
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,361
Quote:
Originally Posted by Squirtit View Post
Thanks for the emails. I haven't posted my email address on here where did you send them? What was the title of the emails? I haven't received them. I searched my SpamArrest for keywords GFY , Chmod, & Ray no results. My ICQ is 265912752

I sent an email to Blackmonsters last night at 7:58 pm and waiting to hear back. The title of the email was "RE: PHP redirect based on Verotel cookie" I offered Ray $$$ to be helped too so yes I'm here to be helped
I sent you an email last night. Look for tube at econfirmpro dot com in your list.

If you have windows7 live email then look in the junk folder.
A lot of stuff will go there.
__________________
Make Money with Porn

Last edited by blackmonsters; 12-28-2011 at 10:57 AM..
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-28-2011, 11:30 AM   #31
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by blackmonsters View Post
I sent you an email last night. Look for tube at econfirmpro dot com in your list.

If you have windows7 live email then look in the junk folder.
A lot of stuff will go there.
Ugh

Note to self: Check spam folder in original Gmail account, not just the catchall account where I have everything forwarded.

I just replied to the email you sent last night, and the three that Ray had sent. All were in the spam folder of the original Gmail account. Sorry for the confusion
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2011, 08:52 AM   #32
CHMOD
Confirmed User
 
CHMOD's Avatar
 
Join Date: Jun 2003
Posts: 1,697
You should have a look at Sliiing

it may be the solution to your current issue
CHMOD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2011, 03:12 PM   #33
EukerVoorn
So Fucking Banned
 
Industry Role:
Join Date: Aug 2011
Location: Les Alpes, France
Posts: 1,423
I agree with blackmonsters, "Just use a different tour for different billers." For other solutions, what if the surfer has cookies disabled? Some surfers do that so cookie scripts will be useless. So "Just use a different tour for different billers." really is the best solution.
EukerVoorn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-30-2011, 08:33 AM   #34
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by pornguy View Post
Raymor great product. working with Ali on ours and its already saved us a ton.
I agree. Ray has always been a great help in the past and yesterday Ali sent an email saying Ray should be back today woo hoo I look forward to getting this done
__________________


Skype: CallTomNow

Bladewire 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
Thread Tools



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.