I have the attached function to create a cookie on a Wordpress site ([url removed, login to view]). When the visitor leaves that site to go to a PHP site, I want to read that cookie and set the affiliate ID ([url removed, login to view]). The current design is to add a shortcode to the WP site to pass the cookie, but I don't want to use any shortcodes. I simply want to set the cookie when they come to the first site, and read it when they come to the second site.
6 freelancers are bidding on average $89 for this job
Hi, thanks for uploading the scripts. I checked the code and am able to help you out. I'll be able to take on your tomorrow. Let me know if that suits you