curl_exec() getting https://
<!doctype html>
<html lang="en-gb">
<!--<![endif]-->
<head>
<base href="//www.uk-cheapest.co.uk" />
<meta charset="utf-8">
<!-- Meta -->
<!--<title>Cheap domain names - Register .COM domains for just £6.95</title>-->
<link rel="canonical" href="https://www.uk-cheapest.co.uk/404.php" />
<title>404 - Page or file not found | UK Cheapest</title>
<meta name="description" content="We're sorry but the page you're looking for is unavailable, was renamed or no longer exists. Also, please be sure that you're using the correct URL." />
<meta name="robots" content="index,follow" />
<meta name="author" content="Colin" />
<!-- this styles only adds some repairs on idevices -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link rel="shortcut icon" href="images/favicon.ico">
<!-- Google fonts - witch you want to use - (rest you can just remove) -->
<!--<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900' rel='stylesheet' type='text/css'> -->
<!-- ######### CSS STYLES ######### -->
<link rel="stylesheet" href="critical.css" type="text/css" />
<!--<link rel="stylesheet" href="css/reset.css" type="text/css" /> -->
<!--<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css"> -->
<!-- responsive devices styles -->
<!--<link rel="stylesheet" media="screen" href="css/responsive-leyouts.css" type="text/css" />-->
<!-- mega menu -->
<!--<link href="js/mainmenu/sticky.css" rel="stylesheet">
<link href="js/mainmenu/bootstrap.min.css" rel="stylesheet"> -->
<!--<link href="js/mainmenu/demo.css" rel="stylesheet"> -->
<link href="js/mainmenu/menu.css" rel="stylesheet">
<!-- revolution slider -->
<!-- CSS STYLE-->
<!--<link rel="stylesheet" type="text/css" href="js/revolutionslider/css/style.css" media="screen" /> -->
<!-- SLIDER REVOLUTION 4.x CSS SETTINGS -->
<!--<link rel="stylesheet" type="text/css" href="js/revolutionslider/rs-plugin/css/settings.css" media="screen" />-->
<!-- simple line icons -->
<!--<link rel="stylesheet" type="text/css" href="css/Simple-Line-Icons-Webfont/simple-line-icons.css" media="screen" /> -->
<!-- flexslider -->
<!--<link rel="stylesheet" href="js/flexslider/flexslider.css" type="text/css" media="screen" /> -->
<link rel="stylesheet" href="css/colors/darkblue.css" />
<script language="javascript" type="text/javascript">
function validateDomainForm()
{
if ( document.getElementById('dsearch').value == "Enter a domain or keyword..." || document.getElementById('dsearch').value == "" ) { alert("Type a domain name or keywords in the search box!");return false; }
if ( document.getElementById('dsearch').value.match(/\&|\?|\,|\<|\>|\=|\[|\[|\]|\(|\)|\`|\$|\£|\^|\%/) ) { alert("Ooops! You can't have special characters in a domain name!");return false; }
}
function validateSearchForm()
{
if ( document.getElementById('s').value == "Search" || document.getElementById('s').value == "" ) { alert("Ooops! You haven't put anything in the search box!");return false; }
}
</script>
</head>
<body>
<div class="site_wrapper">
<header id="header">
<!-- Top header bar -->
<div id="topHeader">
<div class="wrapper">
<div class="top_nav four">
<div class="container">
<div class="left">
<ul class="links">
<li><a href="https://www.uk-cheapest.co.uk/support" target="_Blank"><i class="fa fa-user"></i> 24x7 Technical Support</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/submitticket.php?step=2&deptid=7" target="_Blank"><i class="fa fa-comments"></i> Contact Us</a></li>
</ul>
</div>
<div class="middle">
<div class="logo"><a href="index.php" id="logo"></a></div>
</div>
<div class="right">
<ul class="links">
<li> <a href="https://www.uk-cheapest.co.uk/clients/clientarea.php" target="_Blank"><i class="fa fa-user"></i> Login</a></li>
<li> <a href="https://www.uk-cheapest.co.uk/clients/register.php" target="_Blank"><i class="fa fa-user"></i> Register</a></li>
<li>
<div class="country_selector">
<select id="source">
<option selected="selected" value="UK">United Kingdom</option>
</select>
</div>
</li>
<li class="icon lesspadd"><a href="http://www.facebook.com/HostingUK" target="_Blank"><i class="fa fa-facebook"></i></a></li>
<li class="icon lesspadd"><a href="https://www.twitter.com/ukchelpdesk" target="_Blank"><i class="fa fa-twitter"></i></a></li>
<li></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- end top navigation -->
<div id="trueHeader">
<div class="wrapper">
<div class="container">
<!-- Menu -->
<div class="menu_main2">
<div class="navbar yamm navbar-default">
<div class="container">
<div class="navbar-header">
<div class="navbar-toggle .navbar-collapse .pull-right " data-toggle="collapse" data-target="#navbar-collapse-1" > <span>Menu</span>
<button type="button" > <i class="fa fa-bars"></i></button>
</div>
</div>
<div id="navbar-collapse-1" class="navbar-collapse collapse pull-right">
<nav>
<ul class="nav navbar-nav">
<li class="dropdown"> <a href="index.php"> Home</a></li>
<li class="dropdown"> <a href="/domain-names/" class="dropdown-toggle active"> Domain Names</a>
<ul class="dropdown-menu" role="menu">
<li><a href="https://billing.uk-cheapest.co.uk/cart.php?a=add&domain=register" taget="_blank">Domain Search</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/how-to-transfer-domain-names-to-ukc/" target="_blank">Domain Transfer</a> </li>
<li><a href="https://www.uk-cheapest.co.uk/support/choosing-the-right-domain-name/" target="_blank">Choosing the Right Domain</a></li>
</ul>
</li>
<li class="dropdown"> <a href="/hosting.php" class="dropdown-toggle"> Web Hosting</a>
<ul class="dropdown-menu" role="menu">
<li><a href="https://billing.uk-cheapest.co.uk/store/email-hosting-save-50">Email Hosting</a> </li>
<li><a href="https://billing.uk-cheapest.co.uk/store/web-hosting">Web Hosting</a></li>
</ul>
</li>
<!--end elements styles-->
<li class="dropdown"> <a href="/sitebuilder.php" class="dropdown-toggle"> Website Builder</a></li>
<!--<li class="dropdown"> <a href="/ssl.php" class="dropdown-toggle"> Site Security</a>
<ul class="dropdown-menu" role="menu">
<li><a href="/ssl.php" taget="_blank">Cheap SSL Certificates for Domains</a></li>
</ul>
</li>-->
<li class="dropdown"> <a href="https://www.uk-cheapest.co.uk/support/" target="_blank" class="dropdown-toggle">Support</a>
<ul class="dropdown-menu" role="menu">
<li><a href="https://www.uk-cheapest.co.uk/support/category/special-offers/" target="_blank"><b>Special Offers</b> and Promotions</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/knowledgebase" target="_blank">Search Knowledgebase</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/submitticket.php?step=2&deptid=7" target="_blank">Submit new ticket</a> </li>
<li><a href="https://billing.uk-cheapest.co.uk/login" target="_blank">Check ticket status</a> </li>
</ul>
</li>
</ul></nav>
</div>
</div>
</div>
</div>
<!-- end menu -->
<div class="menu_right_search_box">
<form method="get" id="site-searchform" action="https://www.uk-cheapest.co.uk/support/" onsubmit='return validateSearchForm();'>
<div>
<input class="serch_input" name="s" id="s" value="Search" onFocus="if (this.value == 'Search') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search';}" type="text" />
<input id="searchsubmit5" class="search_submit" value="" type="submit" />
</div>
</form>
</div>
</div>
</div>
</div>
</header>
<div class="clearfix"></div>
<div style="background-image: url('/support/wp-content/uploads/2024/01/slide1_bg_sky.jpg'); height: 100%; background-size: cover; background-position: center; padding: 40px; ">
<div class="container" >
<h1 class="lt_title_big_left white"><span style="color: red;">404</span> <span>PAGE NOT FOUND</span></h1>
<div><br><h3 style="color: white;">Ooops! We're sorry but the page you're looking for is unavailable, was renamed or no longer exists. Also, please be sure that you're using the correct URL.</h3></div>
<div>
<form method="post" id="domain-searchform" action="https://billing.uk-cheapest.co.uk/cart.php?a=add&domain=register" onsubmit='return validateDomainForm();'>
<div>
<input class="input-text" style="width: 79%; font-size: 16px; padding: 10px 20px;vertical-align: middle;" name="query" id="dsearch" value="Find your web address..." onFocus="if (this.value == 'Find your web address...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Find your web address...';}" type="text" />
<!--<input id="searchsubmit" style="padding: 7px 10px; font-size: 16px;" value="Search" type="submit" />-->
<button id="searchsubmit" type="submit" style="padding: 10px 20px; font-size: 16px; vertical-align: middle;">
<i class="fa fa-search"></i> <!-- Font Awesome magnifying glass icon -->
</button>
</div>
</form>
</div>
<br><br><h4 style="color: white;"><span style="color: yellow;"></span></h3>
<!--<h5 style="color: white;"><i class="fa fa-check"></i> Free <a style="text-decoration: underline;" href="https://www.uk-cheapest.co.uk/support/domain-privacy-protecting-your-id/" target=_blank>Privacy Protection</a></h4>
<h5 style="color: white;"><i class="fa fa-check"></i> Free <a style="text-decoration: underline;" href="https://www.uk-cheapest.co.uk/domain-custom-dns.php" target=_blank>DNS Management</a></h4>-->
<h6 style="color: white;text-decoration: underline;"><a href="https://www.uk-cheapest.co.uk/" target=_blank>Go to Home Page</a></h6>
</div>
</div>
<div class="clearfix"></div>
<!--end slider-->
</div>
<!--- start trustpilot -->
<div cass="punchdtext">
<div class="container">
<div style="text-align: center;">
<br>
<a href="https://uk.trustpilot.com/review/uk-cheapest.co.uk" target="_blank">
<img src="https://www.uk-cheapest.co.uk/support/wp-content/uploads/2024/01/trustpilot-rated-215x105-1.png" alt="TrustPilot Review" style="display: inline-block;">
</a>
</div>
</div>
<!--- end trustpilot -->
<div class="lt_title_line"></div>
<div class="section_holder1 two">
<div class="container">
<h1 class="lt_title_big">We're <span>Happy</span> to help you!</h1>
<BR><h3 style="text-align: center;">Let's get you to the right place</h3>
<div class="lt_title_line"></div>
<!--<p class="lt_title_bottomtext">Welcome to a world where <b>domain registration</b> and web hosting are not only <b>affordable</b> but also packed with <b>value!</b> At <b>UK Cheapest</b>, we've been guiding thousands of businesses online since 2002. <br><br>With our commitment to <b>top-notch 24x7 technical support</b>, a wide range of domain names, and a suite of essential web services, we ensure that your online presence is robust, secure, and <b>within budget.</b></p>-->
<div class="container">
<div class="one_half">
<h4>Support Home</h4>
<p>First port of call for all support routes.</p>
<p><br><a class="readmore_but4" href="https://www.uk-cheapest.co.uk/support/" target="_blank">Take me there...</a></p>
</div>
<div class="one_half last">
<h4>Knowledgebase</h4>
<p>Questions and answers about everything.</p>
<p><br><a class="readmore_but4" href="https://billing.uk-cheapest.co.uk/knowledgebase" target="_blank">Take me there...</a></p>
</div>
</div>
<br>
<br>
<div class="container">
<div class="one_half">
<h4>Client Area</h4>
<p>Login to manage your domains and services.</p>
<p><br><a class="readmore_but4" href="https://billing.uk-cheapest.co.uk/login" target="_blank">Take me there...</a></p>
</div>
<div class="one_half last">
<h4>Contact Us</h4>
<p>Open a ticket with the Helpdesk.</p>
<p><br><a class="readmore_but4" href="https://billing.uk-cheapest.co.uk/submitticket.php?step=2&deptid=7" target="_blank">Take me there...</a></p>
</div>
</div>
<br><br>
<hr>
<br>
<div class="container">
<div class="one_half">
<h4><img src="https://www.uk-cheapest.co.uk/support/wp-content/uploads/2024/01/5srars.png"> <br><br>Website always up and reliable</h4>
<p style="color: black;">Website always up and reliable. <br>Responsive and helpful customer support. <br>Good value for money. Been a customer for many years now.</p>
<br>
<p style="color: black;"><b>Date of experience:</b> 10 January 2024</p>
<p><br><a class="readmore_but4" href="https://uk.trustpilot.com/review/uk-cheapest.co.uk" target="_blank">TrustPilot</a></p>
</div>
<div class="one_half last">
<h4><img src="https://www.uk-cheapest.co.uk/support/wp-content/uploads/2024/01/5srars.png"> <br><br>Fantastic service with great support</h4>
<p style="color: black;">Fantastic service with a knowledgable & efficient support team. I face very few issues using this service and whenever I have, the team have responded & resolved the situation quickly.</p>
<br>
<p style="color: black;"><b>Date of experience:</b> 20 November 2023</p>
<p><br><a class="readmore_but4" href="https://uk.trustpilot.com/review/uk-cheapest.co.uk" target="_blank">TrustPilot</a></p>
</div>
</div>
</div>
</div>
</div>
<!-- end section 1-->
<div class="punchtext">
<div class="container">
<div class="text">
<h4 class="white margin_top1">Need Help Choosing the perfect Domain Name? - Read our Guide</h4>
</div>
<div class="but"> <a href="https://www.uk-cheapest.co.uk/support/choosing-the-right-domain-name/" target="_blank" class="readmore_but2">Learn More</a> </div>
</div>
</div>
<div class="clearfix"></div>
<div class="footer1 two">
<div class="container">
<div class="one_fourth">
<h4 class="white">About UKC</h4>
<div class="footer_title_line"></div>
<ul class="quick_links">
<li><a href="https://www.uk-cheapest.co.uk/support/about-us/" target="_Blank">About Us</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/contact-us/" target="_Blank">Contact Us</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/abuse-policy/" target="_Blank">Report Abuse</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/refunds-and-cancellations/" target="_Blank">Cancellations</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/login">Affiliates</a></li>
<li><a href="https://www.nominet.uk" target="_Blank">Nominet.UK</a></li>
<li><a href="https://www.icann.org" target="_Blank">ICANN.org</a></li>
</ul>
<div class="newsletter">
<p class="padd_bot1 margin_top1"> Sign up for special offers</p>
<form method="get" action="https://www.uk-cheapest.co.uk/clients/register.php">
<input style="width:70%" class="email_input" name="samplees" id="samplees" value="E-mail Address" onFocus="if(this.value == 'E-mail Address') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'E-mail Address';}" type="text">
<input style="width:30%"name="" value="Submit" class="email_submit two" type="submit"></form>
</div>
</div>
<!--end about foxu-->
<!--<div class="one_fourth">
<h4 class="white">Latest Blog Posts</h4>
<div class="footer_title_line"></div>
<div class="post_holder first active">
<div class="quick_links"><a class="quick_links" stdyle="text-decoration: underline;color: white;" href="https://www.uk-cheapest.co.uk/support/choosing-the-right-domain-name/" target="_Blank"><span class="bold">Choose a Perfect Domain</span></a></div>
<p>Definitive Domain Guide</p>
<span class="info">By Tech Support / 1 January</span>
</div>
<div class="post_holder">
<div class="img_holder">
<div class="img"><img src="/images/60x60-2.png" alt="" class="img_size1"/></div>
</div>
<div class="text"> <a href="https://www.uk-cheapest.co.uk/support/google-has-started-giving-a-ranking-boost-to-httpsssl-sites/" target="_Blank"><span class="bold">Boost your Google ranking</span></a>
<p>and protect your clients</p>
<span class="info">By Tech Support / 2 June</span> </div>
</div>
<div class="post_holder last">
<div class="img_holder">
<div class="img"><img src="/images/60x60-3.png" alt="" class="img_size1"/></div>
</div>
<div class="text"> <a href="https://www.uk-cheapest.co.uk/support/uk-anniversary-promotional-offer/" target="_Blank"><span class="bold">.UK Anniversary Offer</span></a>
<p>Register .UK for £1</p>
<span class="info">By Promo Team / 25 May</span> </div>
</div>
</div>-->
<!--end products and services-->
<div class="one_fourth">
<h4 class="white">Recent Posts</h4>
<div class="footer_title_line"></div>
<ul class="quick_links">
<li><a href="https://www.uk-cheapest.co.uk/support/choosing-the-right-domain-name/">Definitive Domain Guide</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/google-has-started-giving-a-ranking-boost-to-httpsssl-sites/" target="_Blank">Boost your Google ranking</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/uk-anniversary-promotional-offer/"" target="_Blank">.UK Anniversary Offer</a></li>
</ul>
</div>
<div class="one_fourth">
<h4 class="white">Products & Services</h4>
<div class="footer_title_line"></div>
<ul class="quick_links">
<li><a href="https://www.uk-cheapest.co.uk/domain-names/">Registration Services</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/how-to-transfer-domain-names-to-ukc/" target="_Blank">Domain Name Transfers</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/domain-privacy-protecting-your-id/" target="_Blank">ID Protection Services</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/store/email-hosting-save-50" target="_Blank">Email Only Services</a></li>
<li><a href="https://www.uk-cheapest.co.uk/hosting.php" target="_Blank">Web Hosting Services</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/website-migration-service/" target="_Blank">Transfer my Website</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/disaster-recovery-fix-my-website/">Fix my Website</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/disaster-recovery-restore-my-website/" target="_Blank">Restore my Website</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/store/disaster-recovery" target="_Blank">Disaster Recovery</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/store/wordpress-services" target="_Blank">WordPress Services</a></li>
</ul>
</div>
<div class="one_fourth last">
<h4 class="white">Help & Assistance</h4>
<div class="footer_title_line"></div>
<ul class="quick_links">
<li><a href="https://www.uk-cheapest.co.uk/support/" target="_Blank">Technical Support</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/domain-registration-quickstart-guide/" target="_Blank">Domain Name Help</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/plesk-12-step-by-step-video-tutorials/" target="_Blank">Plesk Hosting Tutorials</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/plesk-12-setting-up-your-email/" target="_Blank">Setting up Email</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/how-to-stop-gmail-marking-your-emails-as-spam/" target="_Blank">Dealing with SPAM</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/how-to-reduce-spam-and-protect-your-reputation/" target="_Blank">Reducing SPAM</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/sitejet-website-builder/" target="_Blank">AI Website Builder</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/ports-for-imap-pop-and-smtp-email-services/" target="_Blank">Common Email Ports</a></li>
<li><a href="https://billing.uk-cheapest.co.uk/knowledgebase" target="_Blank">Contact Helpdesk</a></li>
<li><a href="https://www.uk-cheapest.co.uk/support/privacy-policy/" target="_Blank">Privacy Policy</a></li>
</ul>
</div>
<!--end need help-->
</div>
</div>
<!--end footer-->
<div class="footer_payment_types">
<div class="container">
<!--<ul class="payment_logos">
<li class="white">Payments <br/>
We Accept</li>
<li><img src="/images/payment_logo1.png" alt="We accept Visa"/></li>
<li><img src="/images/payment_logo2.png" alt="We accept Visa Electron"/></li>
<li><img src="/images/payment_logo3.png" alt="We accept Switch"/></li>
<li><img src="/images/payment_logo4.png" alt="We accept Solo"/></li>
<li><img src="/images/payment_logo5.png" alt="We accept MasterCard"/></li>
<li><img src="/images/payment_logo6.png" alt="We accept PayPal"/></li>
</ul>-->
<div align="right" class="ratings" itemscope="itemscope" itemtype="http://data-vocabulary.org/Review-aggregate">
<h3 style="color:#808080" itemprop="itemreviewed">404 Page Not Found</h3>
<div style="margin-top: -20px;"><span itemprop="rating" itemscope="itemscope" itemtype="http://data-vocabulary.org/Rating">
<span itemprop="average"><strong>4.4</strong></span>
out of
<span itemprop="best"><strong>5</strong></span>
</span>based on <span itemprop="count"><strong>410</strong></span> reviews</div>
<div class="stars"><a href="https://www.reviewcentre.com/reviews152922.html" target="_blank"><img src="/images/tiny_gold_star.png" alt="star"/><img src="/images/tiny_gold_star.png" alt="star"/><img src="/images/tiny_gold_star.png" alt="star"/><img src="/images/tiny_gold_star.png" alt="star"/><img src="/images/tiny_gold_star.png" alt="star"/></a></div>
</div>
</div>
<!--end payment types-->
<div class="copyrights">
<div class="container">
<div class="one_half"><span>Copyright © 2002-2024 UK-Cheapest.co.uk</span></div>
<div class="one_half last">
<ul class="social_icons">
<li><a href="https://www.uk-cheapest.co.uk/support/" title="UK Cheapest Support"><i class="fa fa-wordpress"></i></a></li>
<li><a href="https://www.twitter.com/ukchelpdesk" title="Twitter / X.com"target="_blank"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://www.facebook.com/#" target="_blank" title="Link to FaceBook"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://www.instagram.com/ukc_hosting/" title="Link to Instagram"target="_blank"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
<!--end copy rights-->
<a href="#" class="scrollup"></a><!-- end scroll to top of the page-->
</div>
<!--end sitewraper-->
<!-- ######### JS FILES ######### -->
<!-- get jQuery from the google apis -->
<script type="text/javascript" src="js/universal/jquery.js"></script>
<!-- style switcher -->
<script src="js/style-switcher/jquery-1.js"></script>
<script src="js/style-switcher/styleselector.js"></script>
<!-- SLIDER REVOLUTION 4.x SCRIPTS -->
<!--
<script type="text/javascript" src="js/revolutionslider/rs-plugin/js/jquery.themepunch.tools.min.js"></script>
<script type="text/javascript" src="js/revolutionslider/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
<script type="text/javascript" src="js/revolutionslider/custom1.js"></script>
-->
<!-- mega menu -->
<script src="js/mainmenu/bootstrap.min.js"></script>
<script src="js/mainmenu/customeUI.js"></script>
<!-- sticky menu -->
<script type="text/javascript" src="js/mainmenu/sticky.js"></script>
<script type="text/javascript" src="js/mainmenu/modernizr.custom.75180.js"></script>
<!-- scroll up -->
<script src="js/scrolltotop/totop.js" type="text/javascript"></script>
<!-- Flexslider --> <!--
<script src="js/flexslider/jquery.flexslider.js"></script>
<script src="js/flexslider/custom.js"></script> -->
<!-- custom includes -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R285XTW1QD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-R285XTW1QD');
</script>
</body>
</html>
curl_exec() getting http://
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" content="Roger W. Haworth" />
<title>RHaworth.me default 404 page</title>
</head>
file_get_contents() getting https://
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The smallest possible valid (X)HTML documents · Mathias Bynens</title>
<meta name="viewport" content="width=device-width">
<link rel=&
file_get_contents() getting http://
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" content="Roger W. Haworth" />
<title>RHaworth.me default 404 page</title>
</head>
parse_ini_file()
array (
'urn' => 'sid.ucoz.net',
'usnam' => 'user_name',
'uspas' => 'secret',
)
This server does not allow_url_fopen so highlight_file() is a completely harmless function
Warning: highlight_file(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /var/www/vhosts/rhaworth.net/httpdocs/test/ukcdis.php on line 60
Warning: highlight_file(http://posp.org.uk/book/dopapac.php): failed to open stream: no suitable wrapper could be found in /var/www/vhosts/rhaworth.net/httpdocs/test/ukcdis.php on line 60
Warning: highlight_file(): Failed opening 'http://posp.org.uk/book/dopapac.php' for highlighting in /var/www/vhosts/rhaworth.net/httpdocs/test/ukcdis.php on line 60
show_source()
<?php
require_once("../../httpdocs/test/ukcdis.php");
?>
highlight_file()
<?php
require_once("../../httpdocs/test/ukcdis.php");
?>
highlight_file() - without the highlighting - using file_get_contents() to display this script
<?php
$titext="Problems with UK Cheapest disabling functions";
/* ------------------------------------------------------------------------------------------------*/
date_default_timezone_set('UTC');
error_reporting(0x7FFF ^ (E_NOTICE | E_STRICT));
ini_set('display_startup_errors',1);
ini_set("display_errors",1);
include('../../httpdocs/incl/http_get.php');
include('../../httpdocs/incl/rwhead5.php');
if (!isset($_REQUEST['api'])) {
rwhhead($titext,FALSE);
?>
<style>
.narr { font: bold 130% sans-serif; margin: 2em 2em 0.7em; color: #077; }
pre, .samp { background: #DDF; }
</style>
</head>
<body>
<?php
}
echo "<div class='narr'>curl_exec() getting https://</div>\n";
echo "<pre>". htmlspecialchars(http_get('https://www.uk-cheapest.co.uk/qxq')) ."</pre>\n";
echo "<div class='narr'>curl_exec() getting http://</div>\n";
echo "<pre>". substr(htmlspecialchars(http_get('http://rhaworth.me/404.htm')),0,530) ."</pre>\n";
echo "<div class='narr'>file_get_contents() getting https://</div>\n";
echo "<pre>". substr(htmlspecialchars(
file_get_contents('https://mathiasbynens.be/notes/minimal-html')),0,299) ."</pre>\n";
echo "<div class='narr'>file_get_contents() getting http://</div>\n";
echo "<pre>". substr(htmlspecialchars(
file_get_contents('http://rhaworth.me/404.htm')),0,530) ."</pre>\n";
echo "<div class='narr'>parse_ini_file() </div>\n";
$ans=parse_ini_file("../../httpdocs/test/sample.ini");
echo "<div class='samp'><pre>\n\n". var_export($ans,true) ."\n\n</pre></div>\n";
$samp_fn="../../httpdocs/test/ukctest.php";
if (!isset($_REQUEST['api'])) {
echo "<div class='narr'>This server does not allow_url_fopen so highlight_file() is a ".
"completely harmless function</div>\n";
# next must be separate echo to get error messages after the heading
echo "<div class='samp'>\n\n". highlight_file("http://posp.org.uk/book/dopapac.php",true) .
"\n\n</div>\n";
}
echo "<div class='narr'>show_source()</div>\n";
echo "<div class='samp'>\n\n". show_source($samp_fn,true) ."\n\n</div>\n";
if (!isset($_REQUEST['api'])) {
echo "<div class='narr'>highlight_file()</div>\n";
echo "<div class='samp'>\n\n". highlight_file($samp_fn,true) ."\n\n</div>\n";
echo "<div class='narr'>highlight_file() - without the highlighting - using ".
"file_get_contents() to display this script</div>\n";
echo "<pre>". htmlspecialchars(@file_get_contents($_SERVER['SCRIPT_FILENAME'])) ."</pre>\n";
?>
<br> <br>
</body>
</html>
<?php
}