Search
 
SCRIPT & CODE EXAMPLE
 

PHP

if ip in the array redirect php

if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '123.456.789.123')))
{
header('Location: http://www.example.com/sitemaintenance.php');
exit;
}
Comment

PREVIOUS NEXT
Code Example
Php :: woocommerce remove notification after some time 
Php :: laravel command Retrieve a specific option 
Php :: shopware php get cookie 
Php :: .phtml 
Php :: PHP (php 7.3.5) sample 
Php :: How to Create a Transient PHP wordpress 
Php :: installing php storm version 20 in ubuntu 
Php :: JsonResource withoutWrapping 
Php :: php laravel convert blob type to string 
Php ::  
Php :: laravel select error 
Php :: statamic asset tag 
Php :: openclassroom php 
Php :: how to give dynamic value in onlick in php 
Php :: chr (PHP 4, PHP 5, PHP 7, PHP 8) chr — Generate a single-byte string from a number 
Php :: wc php get currency symbol 
:: Dispatch, performance 
Php :: Accept multiple space separated inputs 
Php :: Laravel 9 Multiple File Upload 
Php :: x-default wpml canonical alternate hreflang 
:: PHP 7 - Fatal error: Call to undefined method PDF::FPDF() 
Php ::  
Php :: PHP OOP - Static Methods 
Php :: php get image from folder as array 
Php :: on keyup jquery for search php 
Php ::  
Php :: laravel framework 
Php :: php mysql row to json 
Php :: laravel except route 
Php :: how to create php message 1 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =