E
exxos
Guest
I have a HTML page, top frame is a basic HTML page, bottom frame is a PHP based page. Works fine...
however, the first PHP page is a logon page, which then logs you on...
Now what I want to do is, not load the top frame up until the person logs on... so the PHP code must somehow refresh the top frame within the PHP script, can this be done ?
frames are old yes, but im not into a lot of web stuff, there are 3 frames, one (the mainframe) is the php script, the top most frame is a auto refresh page (which updates itsself with data from the server) and the second top frame just used to post data, when it posts data it redirects to a php script and passes data to that, then the php redirects back to the posting page, I cant put the post page on the php mainpage else it would change the page.
Though if there is a better way to do all this in php then it may help. one page just gets html data and POST's to a php script, the other top frame just shows the output.
Frames just made it easy for the pages to update and post without it messing up the main php page..
If there is a way to pass data another way then I can give that a try. All the POST page does is pass data from HTML to a PHP script which write to txt files on the server, then the other frame reads the data & auto updates every 30 seconds.
however, the first PHP page is a logon page, which then logs you on...
Now what I want to do is, not load the top frame up until the person logs on... so the PHP code must somehow refresh the top frame within the PHP script, can this be done ?
frames are old yes, but im not into a lot of web stuff, there are 3 frames, one (the mainframe) is the php script, the top most frame is a auto refresh page (which updates itsself with data from the server) and the second top frame just used to post data, when it posts data it redirects to a php script and passes data to that, then the php redirects back to the posting page, I cant put the post page on the php mainpage else it would change the page.
Though if there is a better way to do all this in php then it may help. one page just gets html data and POST's to a php script, the other top frame just shows the output.
Frames just made it easy for the pages to update and post without it messing up the main php page..
If there is a way to pass data another way then I can give that a try. All the POST page does is pass data from HTML to a PHP script which write to txt files on the server, then the other frame reads the data & auto updates every 30 seconds.