I have been reading alot on the site about frames.
My questions relate to the following rules:
1. Only 1 php (example index.php)
2. V4 PHP
3. The PHP code defines all html code, no exterior files
4. Frames are controlled by the main script.
Ok, here is kind of what I have.
$frames = <<<EOT
... Frame Code (works with target names)
header,footer,toc,and main (tags)
EOT;
echo $frames
$DN=4 // Change the (DisplayNumber) so we don't recreate the frames when we re-enter the script.
exit.
Frame "main" has a form with posing to $PHP_SELF?CN=1&DN=8 //(CommandNumber(Switch) and DisplayNumber)
now the tricky part, because I have not yet implimented sessions, but rather cookies, I do not have a way to exit the header(code). How would I structure a system to
(echo) content to the named frame?
example, A form in the main windows asks for username and password. After entering this data, it is displayed to the "header" frame, while another form is displayed (menu) int the "main" frame. To make some of this work I have used exit(); after drawing the forms and having the submittion pick up with the variables it left off.
If you would like the php script in question, I can mail it to you. it's about 500 lines thus far. and works - the rebuilding of frames past the initial "draw".
Thank you,
Scott