hey,
like some scripts i have used in the past i want to make a script which checks if the installation file is there, and then continue accordingly
in my case i want to check if install.php is there and if it is open it, using header('Location : install.php');
so far i have used this
<?
if (@fopen('./install.php', 'r')) {
header('Location : ./install.php');
}
else {
// SHOW NORMAL PAGE
}
?>
this works fine, when i place the install.php file in the current folder, however it shows a blank page, and within install.php is text to show
any ideas why this is happening? or a better solution?
thanks