gizmorattler Posted June 4, 2012 Share Posted June 4, 2012 Okay, hello to all and good fortune. I'm working on a client project and I've already finished the main structure of the site. Now, I'm am attempting to set up a lead generating landing page architecture to build traffic for this terrific site! I am trying to post craigslist ads that send the customer to the exact item that they clicked on in the craigslist ad. I could hard code this functionality in html, but this client has over 2,000 products... Unfortunately, craigslist doesn't allow any other script other than HTML I got around this by using the Meta Data cookie functions. If all I wanted to do was forward the customer to the main site then that would work well for me... Since this is not the case here's the issue: 1. I want customers to click on an html ad and be sent to the landing page (index.php), carrying a metadata cookie. 2. After submitting basic info (validated in contact-form-handler.php) all while carrying the original cookie from the HTML ad I want the php to pick up the cookie. 3. I want the customer to go to a thank you page (contact-form-thank-you.php) all while carrying the original cookie from the HTML ad. Then I want the Thank You page to refresh and forward the customer to the link in the cookie. Is this possible? I've included the files to what I've done so far... Please help! 18527_.zip Quote Link to comment https://forums.phpfreaks.com/topic/263648-handling-http-cookies-in-php/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.