El Director
New member
I have a top frame template renderer. The page that will be the frame's source uses PHP to send variables that the user sets, such as the back to URL and name. I use require to pull in the template, and it uses the variables that are defined at the top of the page.
However, is there a way that I could make all this happen in one file? I don't want to have to create the page that calls the template, filling in the user-defined variables and the pages that contains the actual frameset and frame src="" code.
Is there a way using PHP to set the variables all in the frameset page, and have src= something that the variables could be passed into (maybe using a link.php?x=whatever&y=duh). Then link would be a static template rendering page that would take those variables and create the page based on them?
Sorry that I'm not very articulate on this. Hope you can help anyway.
However, is there a way that I could make all this happen in one file? I don't want to have to create the page that calls the template, filling in the user-defined variables and the pages that contains the actual frameset and frame src="" code.
Is there a way using PHP to set the variables all in the frameset page, and have src= something that the variables could be passed into (maybe using a link.php?x=whatever&y=duh). Then link would be a static template rendering page that would take those variables and create the page based on them?
Sorry that I'm not very articulate on this. Hope you can help anyway.