can php control 2 web pages?
Posted: Sun Mar 06, 2011 8:44 pm
Hi, I have a very general question. I have one web page that, when a user clicks on a button, should open a new window for a user to upload information in. I was hoping that both web pages could be open at the same time and when the information is submitted in the second page, the first page will be updated automatically and the second will be recleared for another submission. I was planning on using one php file that would share the information between the pages and update both of them (by refreshing both web pages and using AJAX calls in the javascript to the same php file that's doing the refreshing) The information being submitted needs a bit of processing before displaying it in the first window, and I think it would be easier to process it in php then js. Anyways, that's what I was hoping to do, but I can't really find anything to help out with this. (I'm pretty new to php.)
So I guess the question is, can php be used to update two web pages simultaneously? If I'm trying to do something impossible, I guess I'd rather stop before wasting too much more time on it.
Thanks in advance.
So I guess the question is, can php be used to update two web pages simultaneously? If I'm trying to do something impossible, I guess I'd rather stop before wasting too much more time on it.
Thanks in advance.