I'm presuming your 'secure' folder is hosted within a site that already has SSL cert setup and running. I'm presuming this because you call it a secure folder. If this is the case, you don't need to worry about installing SSL certs as you already have that piece of the equation running.
Your normal (non-secure) site can carry on doing what it does. When you've gathered your variable data together, you can add it to a URL that links to the secure site. (e.g. https://www.mysecuresite.com/collectdata.php?mydata=putdatehere). The script on the secure site can extract this data from the URL (using $_GET[]) and use it however it likes. The URL doesn't have to be used as a normal <A HREF=""> link, you could use it in a header() to automatically redirect to secure page.
However, the data encoded within the URL is plain text and can not be presumed to be secure. The SSL on the secure site will encrypt everything between browser and server, but the URLs remain as plain text and readable by anyone. To get round this you can encrypt the data in PHP before you add it to the URL, and decrypt it at the other end.
Hope this helps. If I've got the wrong end of the stick, let me know.