Closing a window with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ddpicha
Forum Newbie
Posts: 4
Joined: Sat Jul 06, 2002 5:41 pm

Closing a window with php

Post by ddpicha »

Hi everyone,
I have a php script that updates a site from a remote server(my computer) with the use of the Windows Task Scheduler. But what happens is the script runs in IE but the window stays open. This is a problem because when the task is going to run again, the browser is still up and it will not run the task. is there a way that I can close the window using php?
TIA
Deric
ddpicha
Forum Newbie
Posts: 4
Joined: Sat Jul 06, 2002 5:41 pm

Post by ddpicha »

Nevermind, I figured it out,
Thanks
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Always nice to tell people how you fixed it in case somebody else has the same problem later on.

Mac
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post by mikeq »

I have found that you should just use the task scheduler to run a PHP script in a command window, rather than running the browser to run the script.
Post Reply