javascript/php question, help from people who know this |
javascript/php question, help from people who know this |
Dec 15 2005, 08:26 PM
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.
|
|
|
|
![]() |
Dec 16 2005, 06:13 PM
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. |
|
|
|
ryanoman javascript/php question Dec 15 2005, 08:26 PM
ryanoman QUOTE(Phreak @ Dec 16 2005, 6:13 PM)Or, you c... Dec 17 2005, 10:10 PM
Phreak QUOTE(ryanoman @ Dec 17 2005, 10:10 PM)Do you... Dec 18 2005, 09:49 PM![]() ![]() |