Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto-closing browser - possible?

Status
Not open for further replies.

CHeighlund

Programmer
Jun 11, 2007
163
US
I've been requested to write a PHP page as a sort of 'form viewer' for a set of forms designed in Delphi. The page acts as a microform of its own - it displays the information drawn from the Delphi side (via a database), then a 'submit' button at the bottom of the form. Hitting submit causes it to display the same thing, only this time, it also prints everything into a file that will be emailed elsewhere for review and evaluation.

My boss has requested that I find a way to close the page automatically after the 'write file' portion occurs. Is this possible with PHP? And if so, where would be a good place to look up how to do this?
 
No. Since PHP works on the Server it has no interaction with the browser. You would need to use Javascript to do that.

forum216. I'm sure the guys over there can be of assistance.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top