<?php
$siteURL = "http://localhost/brajeshwar/";
$filename = $siteURL."temp.inc";
if (file_exists($filename)) {
include ($filename);
} else {
echo "The list of Flash blogs seem to have some problem.";
}
?>
Now the nice part is that it is showing the one that we do not like "the list of flash blogs seem to have some problem".
actually my $siteURL and a couple of other variables have been defined in a single PHP file that is included in every page. So I was thinking concatenating here will do the trick but nope.
Thanks for the help so far, I still need a working example or something or is there any hidden tip that I have to consider.