curl_exec() getting https://
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /qxq was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</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
require_once("../../httpdocs/test/ukcdis.php");
?>