I am not familiar with PHP but I need to create a simple page to temporarily redirect internal users until a production problem is fixed.
If the user’s IP address starts with "10.", "192.", or "172." then I need to redirect them to another server. If the user’s IP address does not meet this criteria then I need to display a message telling the user the site is down for maintenance.
Can someone help me with this?
1 Answer