Forum Moderators: coopster
<?php
$title = 'This is a page title';
$paragraph = 'This is a paragraph that will go somewhere below the page title, probably right beneath it.';
$dataSetPrimary = array('Data-Item-10','Data-Item-11','Data-Item-12');
$dataSetSecondary = array('Data-Item-20','Data-Item-21','Data-Item-22');
function shuffleDataSet ($dataSet) {
shuffle ($dataSet);
array_map('strtolower',$dataSet)
return $dataSet;
}
?>
http://www.mysite.com/mydata.php ... is mydata.php forever invisible to everyone
Something anyone with a browser can do is save files.
http://www.mysite.com/mydata.php Something anyone with a browser can do is save files.
...it doesn't appear to fetch and retrieve the .php file in any meaningful way
[edited by: penders at 9:47 pm (utc) on Aug 19, 2014]
RewriteCond %{THE_REQUEST} \.php
RewriteCond %{REQUEST_URI} !(name1|name2|dir3/name3)
RewriteRule \.php - [F,NS]
can anyone or anyBOT tell the difference between that, and a page with standard/static text?
echo "\n" can anyone or anyBOT tell the difference between that, and a page with standard/static text?
expose_php is On in php.ini and this sets the "X-Powered-By" HTTP response header with the value of the PHP version, like: "X-Powered-By: PHP/5.3.26". So, unless this is Off, or you manually override this header, then it is easy to see that the page at least came through the PHP engine.
And that's why my php includes explicit
echo "\n"
newline? what is the usefulness of that?