Caronte3D wrote: ↑Mon Mar 25, 2024 8:57 pm
Thanks mk-soft
The IncludeBinary is Ok in most cases, but sometimes I want to change parts of that Html with PB variables.
You are right, may be a PBTool is the best solution.
I wrote a crude tag preprocessor scans the page for <?PB functionname()/> so you can modify an html page saved as pbh using runtime functions. <?PB FillRaceResults()/> I'm intending to add it as an optional plug in to the atomic web server.
but I will have to modify the code to be c compatible. I see no reason I can't modify it to include variables either but you can get them via the get or post call backs set the required variables and the preprocessor generates the snippet as it reads the page.