This should be fairly simple from what I can find online, but I can't seem to get it to work.
I've got a widget which I want to enable others to edit (text, images, css, etc). so I've provided them the ability to pass an external page in via a url variable.
The problem is that I can't then access the values they provide via the page.
I'm trying to eval via
$fileVars=include($getFile); eval($fileVars);
the file I'm being passed contains multiple variables like this
$extCss='http://location/of/csspage'; $title = 'header title'; $subTitle='subtitle here'; $submitButton='http://location/of/button/image';
I suspected that this should work. I'd prefer to not have to put 'echo' on each line because it is just more for other people to muck up later.
Is there something wrong with what I've got here? I can't get it to work.