javascript/php question, help from people who know this |
javascript/php question, help from people who know this |
![]()
Post
#1
|
|
![]() =] ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 712 Joined: May 2004 Member No: 15,626 ![]() |
Hey... I'm using a php script... it's a simple script... if someone goes to, or clicks the URL of the script, then it processes the information on to another file. Is there anyway possible so that:
1. Go to /../file.php 2. Gathers information and transmits to /../otherfile.php 3. Closes window when it's finished. Would I have to fit a window.close() somewhere in the script? Edit: I added CODE <body onLoad="setTimeout(window.close, 3000)"> To the script but it still won't close.
|
|
|
![]() |
![]()
Post
#2
|
|
![]() Member ![]() ![]() Group: Member Posts: 22 Joined: Sep 2005 Member No: 231,011 ![]() |
Maybe you should include it once? Save it externally and than include it once?
Or, you could tell it, once it is done doing what it needs to, to close out the window. |
|
|
![]() ![]() |