batch file that has internet explorer visit webpage

Posted on 2009-12-23
Last Modified: 2012-05-08
visit a webpage every minute

would this work
in windows server 2008
@echo off 


"C:\Program Files (x86)\Internet Explorer\iexplore.exe" "" 


goto loop

Open in new window

Question by:rgb192
    LVL 34

    Accepted Solution

    Sort of, but it would create a new Internet Explorer window every time, which would make you run out of memory pretty quickly. Just use PHP's file_get_contents() to trigger a web site visit. Something like this:


    Then just run:
    php.exe the_above_script.php
    LVL 6

    Expert Comment

    Also you can use the 'file' function :

    LVL 34

    Expert Comment

    True, but there's really no difference in the speed or functionality between file_get_contents, file, fopen, or any of the other PHP functions that access a URL - it's all the same underlying network engine.

    If the script were processing the contents of the URL, -then- there would be a difference in functionality.

    Author Closing Comment

    got what i had to get done

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    This tutorial will walk an individual through the process of upgrading their existing Backup Exec 2012 to 2014. Either install the CD\DVD into the drive and let it auto-start, or browse to the drive and double-click the Browser file: Select the ap…
    The viewer will learn how to dynamically set the form action using jQuery.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now