Jump to content

Handling http cookies in PHP!!!


gizmorattler

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.