Passing variables to source files

Started by Sir Osis of Liver, April 04, 2018, 10:31:22 PM

Previous topic - Next topic

Sir Osis of Liver

Is there a secure way to pass variables to source files from external script?  I've come up with a couple of methods that work, but don't believe they're safe to use. :P
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

vbgamer45

Lets see what you are doing if it does not seem secure will let you know.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Sir Osis of Liver

First method I tried, set up a form handler in the forum, post the variables from external script to the handler, it sets a cookie containing the variables, and Register.php reads values from the cookie.  That works.  Other method is a bit difficult to describe, and still haven't got it working, but basically involves creating a file that contains the variables, and Register.php picks it up as an include.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: