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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically closing a window - how to do?

Status
Not open for further replies.

CHeighlund

Programmer
Jun 11, 2007
163
US
I've been requested to write a php page that will allow the user to review data from a submitted form (data generated elsewhere), verify the data, then submit it. My boss has requested that if possible, I should also force the browser window to close after the submission.

I was informed on the php page that this action was impossible in php (server side only), and directed here for further assistance.

As things currently stand, I need to allow the (post-submission) php page to completely finish loading, but then immediately after that, I need to tell the form to close. Does anyone have any suggestions as to how I would go about setting this up?
 
If the window is opened with window.open method then you can also close it with window.close()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top