Warning: touch() [function.touch]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/site.com/httpdocs/) in /var/www/vhosts/site.com/httpdocs/Manuals/updater.php on line 5 There was an error loading your Manual, please press the back button and try again.
im trying to figure out why the heck this isn't working - currently, I am using plesk, and it is set to default, which should be working as this is within a subdirectory of the httpdocs...
any ideas?
UPDATER.PHP
<?php
// $URL="manualframe.php";
$URL=$_GET["URL"];
// header( 'Location: '.$URL.'' ) ;
if (touch($URL)) {
echo 'loading!';
} else {
echo 'There was an error loading your Manual, please press the back button and try again.';
}
echo '<meta http-equiv="refresh" content="1;URL='.$URL.'">';
?>