Hi all,

I have another good one for you all. lol. I have a script on my website that I run once a day to update my listings from various datafeeds that change on a day to day basis. During this time my website, if only for 5 mins, looks a bit of a mess with duplicate products, error messages etc.

I was wondering if there's a way you could implement something into the below "Update" script that at the start will redirect customers to another page explaining that the website is updating and to check back soon, and then reinstate the original homepage at the end of the script

Code:
<?php

// MERCHANTS
echo file_get_contents("http://www.malegroomingfordummies.co.uk/controlPanel/setInStock.php");

// SET
echo file_get_contents("http://www.malegroomingfordummies.co.uk/controlPanel/setPrice.php");

?>
Any ideas people?

Many thanks,