| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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 | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Simple way to include NATS affiliate link in external PHP script
			 
			Anyone know how to do this? 
		
	
		
		
		
		
			
		
		
		
		
	
	For example, instead of doing a smarty template and putting the php in a smarty plugin; just put an include into the php script that will give me the affiliate's link code when they have logged into NATS already. Thanks  | 
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Nov 2012 
				
				
				
					Posts: 223
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 its that easy you need to get the admin php code and place it to the tool ads links... 
		
	
		
		
		
		
			when there are new sign up when they log in it automatically get their proper code... Cheers, 
				__________________ 
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 I still need stuff like file names and buttons to click before I understand it. Thanks  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: May 2004 
				
				
				
					Posts: 6,664
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 If you're doing NATS templates in smarty, then you don't need to create a PHP plugin, just use the existing NATS smarty functions.   
		
	
		
		
		
		
			
		
		
		
		
	
	i.e. http://wiki.toomuchmedia.com/index.p...list_linkcodes  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 use it without having to use the smarty templates. I want to have an external php page that knows the affiliate is logged in and can get his link codes and that will be my php script. Basically I want to integrate an existing php script into the existing NATS and all I want is the affiliate link code to be accessible in my script.  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 That will not change the nature of my question. 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 👏 REVOLUTIONARY 👏 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2012 
				
				
				
					Posts: 2,387
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Is this script on the same domain as the NATS install? If so just detect cookie/session data for NATS login and use it. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	 
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Was just seeking a pre-made solution or shortcut.  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Well, WTF? 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 👏 REVOLUTIONARY 👏 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2012 
				
				
				
					Posts: 2,387
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 There is no pre made solution or shortcut. Either learn how NATS works for this stuff, or hire a programmer. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	 
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ![]()  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 How much do you want me to pay you?  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 👏 REVOLUTIONARY 👏 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2012 
				
				
				
					Posts: 2,387
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Nothing. I am not available. Sorry. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	 
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2003 
				Location: L.A. 
				
				
					Posts: 5,744
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Business getting done on GFY 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |