Today, after 3 year webabal work so:
Only one .php file and all the other work is only on abal (using bda fac and writing all the .htm code).
So today i not need write any page on php.
I need only, for a very good look, know well html: really is my web design that work for me and made all the page that i includ on my abal source.
Default.php do 5 work
1 - take a session number from .ini file
2 - take all the information necessary from .ini file (ex: where is wexa, the name of my .at program, ...)
3 - call my .at programm
4 - wait the stop of .at program and "print" the .htm page made from .at
5 - if at the end of file .htm it find "start email" it send one e-mail in text format or in html format
The .at programm, called from default.php look the parameter.
The first time founding nothing on the arg made one .htm page with the menu.
The menu have (exemple) 2 botton (submit 1 and submit 2) and 1 input.
When the .php print the page (with 2 botton and 1 input) i can write on the input form and after, pressin the botton 1 o 2, .php call another time .at giving what i write on the input and the botton pressed.
And so on ...
I can use many .at code on the same time: every session call one .at (the same .at).
It's easy to do than to say.
Last year i have put on the web a little demo:To see the demo click here