|   |   |   | ||||
| 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. | 
|    | 
| 
 | |||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
|  | Thread Tools | 
|  12-20-2011, 01:08 PM | #1 | 
| StraightBro 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? | 
|   |           | 
|  12-20-2011, 01:10 PM | #2 | 
| Too lazy to set a custom title 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 | 
|   |           | 
|  12-20-2011, 01:14 PM | #3 | 
| Confirmed User Industry Role:  Join Date: Aug 2006 Location: Poland 
					Posts: 9,229
				 | 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. 
				__________________ Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development | 
|   |           | 
|  12-20-2011, 01:15 PM | #4 | 
| Confirmed User 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. | 
|   |           | 
|  12-20-2011, 01:21 PM | #5 | 
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | 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. | 
|   |           | 
|  12-20-2011, 01:33 PM | #6 | 
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | 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. | 
|   |           | 
|  12-21-2011, 10:11 AM | #7 | 
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | bump bump | 
|   |           | 
|  12-21-2011, 10:28 AM | #8 | 
| Too lazy to set a custom title Industry Role:  Join Date: Aug 2002 
					Posts: 55,372
				 | 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 | 
|   |           | 
|  12-21-2011, 11:04 AM | #9 | |
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | Quote: 
 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  | |
|   |           | 
|  12-21-2011, 11:29 AM | #10 | |
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | Quote: 
 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!  | |
|   |           | 
|  12-21-2011, 11:45 AM | #11 | |
| Confirmed User Join Date: Jun 2003 
					Posts: 1,697
				 | Quote: 
 I have sent you an email. I can help you with that.  | |
|   |           | 
|  12-21-2011, 12:10 PM | #12 | 
| ►SouthOfHeaven 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 | 
|   |           | 
|  12-21-2011, 12:13 PM | #13 | 
| So Fucking Banned Industry Role:  Join Date: Jul 2010 Location: ☣ 
					Posts: 9,327
				 | And what did verotel say when you asked them this. | 
|   |           | 
|  12-21-2011, 12:18 PM | #14 | 
| ►SouthOfHeaven Join Date: Jun 2004 Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer 
					Posts: 28,609
				 |  
				__________________ hatisblack at yahoo.com | 
|   |           | 
|  12-21-2011, 12:26 PM | #15 | 
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | 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. | 
|   |           | 
|  12-21-2011, 01:09 PM | #16 | 
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | 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. | 
|   |           | 
|  12-21-2011, 01:14 PM | #17 | 
| 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 | 
|   |           | 
|  12-21-2011, 03:14 PM | #18 | 
| Too lazy to set a custom title 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:   | 
|   |           | 
|  12-22-2011, 06:09 PM | #19 | 
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | 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   | 
|   |           | 
|  12-27-2011, 10:42 AM | #20 | |
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | Quote: 
   | |
|   |           | 
|  12-27-2011, 10:49 AM | #21 | 
| there's no $$$ in porn Industry Role:  Join Date: Jul 2005 Location: icq: 195./568.-230 (btw: not getting offline msgs) 
					Posts: 33,063
				 | that's what I would do. | 
|   |           | 
|  12-27-2011, 10:51 AM | #22 | 
| Too lazy to set a custom title Industry Role:  Join Date: Mar 2003 Location: Homeless 
					Posts: 62,911
				 | < 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! | 
|   |           | 
|  12-27-2011, 07:41 PM | #23 | 
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | Yes this is what I'm looking for. Do you know where to get it? | 
|   |           | 
|  12-27-2011, 08:24 PM | #24 | 
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | I can make it for you. hit me up : tube at econfirmpro dot com | 
|   |           | 
|  12-28-2011, 12:51 AM | #25 | 
| Confirmed User Join Date: Jun 2003 
					Posts: 1,697
				 | |
|   |           | 
|  12-28-2011, 12:57 AM | #26 | 
| 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 | 
|   |           | 
|  12-28-2011, 01:17 AM | #27 | |
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | Quote: 
 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. | |
|   |           | 
|  12-28-2011, 01:28 AM | #28 | |
| Registered User Industry Role:  Join Date: Dec 2011 Location: United States 
					Posts: 69
				 | Quote: 
 For a developer, something like this shouldn't be difficult at all and I'm sure you have it under control. 
				__________________ ICQ: 609051050 | |
|   |           | 
|  12-28-2011, 10:23 AM | #29 | |
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | Quote: 
 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  | |
|   |           | 
|  12-28-2011, 10:55 AM | #30 | |
| Making PHP work Industry Role:  Join Date: Nov 2002 Location: 🌎🌅🌈🌇 
					Posts: 20,645
				 | Quote: 
 If you have windows7 live email then look in the junk folder. A lot of stuff will go there. | |
|   |           | 
|  12-28-2011, 11:30 AM | #31 | |
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | Quote: 
 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  | |
|   |           | 
|  12-29-2011, 03:12 PM | #33 | 
| 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. | 
|   |           | 
|  12-30-2011, 08:33 AM | #34 | |
| StraightBro Industry Role:  Join Date: Aug 2003 Location: Monarch Beach, CA USA 
					Posts: 56,229
				 | Quote: 
  | |
|   |           |