Better Answer:
session_start(); $lead = $_GET['lead']; $_SESSION['lead'] = $lead;
Then, create an additional field on the form, with the input hidden. For the value, I would echo out the $_SESSION, with a name that is easy to grab (lead works). then, wherever the form is processed, just add a line to grab the lead, and do with it what you want. –
Related Posts:
- Changing WordPress blog name and web address
- Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?
- Rewrite default post type
- redirect 301 old url to new url
- append url parameters to all links
- How to rewrite url wordpress?
- Mobile version issue when domain forwarding with masking
- Rewrite custom post type URL parameters
- How to achieve my custom post url structure?
- wordpress url correction
- Redirect htaccess [closed]
- Replace “http://localhost:8888/” by website URL in WordPress
- Two sets of url one content?
- change the url in wordpress
- Get logged in username in wordpress url
- URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation
- how to move another machine or server without dealing with IP
- loading images, css and fonts from site url
- Redirect to new domain that serves new and different content
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- WP returns to domain root instead of siteurl
- Append a parametter at first or last to a certain URL
- How to pass username in url
- How do I rewrite URL that has custom parameter
- Homepage cannot be found
- Get parameters and custom page template
- Custom URL segment parameters for posts
- Error 404 wordpress redirecting URL
- How to retrive previous Domain URL in Wp
- How to create short urls for sharing and downloadable content?
- Lost WordPress website access after changing URL [closed]
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?
- Redirect all URLs in WordPress and Permalink to by country to subdomain
- Use a template file for a specific url without creating a page
- Using the Rewrite API to Construct a RESTful URL
- Adding rewrite endpoint breaks static front page
- Rewrite Rules for Multiple (more than 2) Taxonomies
- How to add dot(“.”) in post slug
- add_rewrite_rule not loading correct page nor getting variables
- Add language/country code to each possible URL
- How to create a specific frontend URL (not a Page) from a theme or plugin?
- WordPress keeps writing rewrite rules to .htaccess
- WordPress Rewrite
- custom template for custom url
- Multilingual theme: Changing locale based on URL
- Allow single quote in URLs
- How to have multiple rewrite endpoints in the same URL?
- add_rewrite_rule is not taking effect in WordPress? .htaccess file doesn’t update
- change default ‘post’ slug with register_post_type_args
- Add specific word to default page permalink
- Permalink Rewrite for Custom Taxonomy
- Is it possible to generate an alternate structure for multi-tag urls?
- Use single-site install and map entities to subdomains
- Rewrite rule to load images from production does nothing
- Creating a dynamic URL structure
- How to define a callback for an URI?
- NextGEN Gallery Lightbox – Social Share URL Redirect
- How to disable URL rewriting for specific URLs?
- How can I dynamically generate an image with a static image URL?
- Rewrite wp-login.php URLS to static pages?
- How to access custom pages
- Url rewrite on index.php?term=[term_name]
- Change pagination url format
- Rewrite: WordPress URL rewrite on Search
- WPML language switcher for custom rewrite rules
- How can I change the permalink of a translated home page?
- Add word to permalink when custom field has a value
- URL Rewrite and add_query_var not working
- Rewrite permalink for specific posts
- Retrieve query var within functions.php
- rewrite rule generated with mpdf to a shorter version
- Name page template properly
- Show Mysql table elements as pages in WordPress
- One off rewrite for single post-type slug (show normal page with same URL instead)
- .htm re-write is adding an ending / to my URL bar
- Import images from self-hosted to WordPress.com
- modify URL with mod_rewrite or hook
- add_rewrite_rule refuses to function
- Creating a custom rewrite for a single page
- Dynamic URL with rewrite rule not working
- How to add Search URL parameters to a Page Template Page for Custom Post Type
- WordPress Rewrite Rule to EITHER Match 1 or 2 Taxonomies when adding to URL
- Display categorised url
- Dynamic URL Rewrite rule
- Url wordpress rewrite
- Blog List Page 404 With Custom Post Type Rewriting to Blog Parent
- rewrite rules social share links
- add_rewrite_rule is not fired
- URLs ending with number higher than 2147483647 redirects to to domain.com/2147483647
- URL rewrite results in a 404, but everything should work!
- Custom URL scheme – paramters on custom post type
- WordPress Landing Page Redirection Issue
- Get content from other database table based on an ID and rewrite URL
- URL Redirect in WordPress
- Rewrite function
- WordPress total posts per page changed and now 404 Http error comes out [closed]
- How to exclude my home page from url of my internal pages?
- add_rewrite_rule doesn’t work when trying to add a new parameter at the end of URL
- Standard Regex syntax doesn’t work in WordPress rewrite rule
- Can’t understand how to use add_rewrite_rule [closed]