i wanted to put a password on my main page so ppl cant see what im doing untill im finish making the page but i get 3 lines of errors and i think its something has to do with my sites php version or something like that
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/monsterm/public_html/main/home.php on line 2
Warning: include(http://monstermatt2.pcriot.com/scripts/password_protect.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/monsterm/public_html/main/home.php on line 2
Warning: include() [function.include]: Failed opening 'http://monstermatt2.pcriot.com/scripts/password_protect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/monsterm/public_html/main/home.php on line 2
and this is the script i put on my page
any way i can fix this
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/monsterm/public_html/main/home.php on line 2
Warning: include(http://monstermatt2.pcriot.com/scripts/password_protect.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/monsterm/public_html/main/home.php on line 2
Warning: include() [function.include]: Failed opening 'http://monstermatt2.pcriot.com/scripts/password_protect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/monsterm/public_html/main/home.php on line 2
and this is the script i put on my page
PHP:
<?php
include("http://monstermatt2.pcriot.com/scripts/password_protect.php");
?>
any way i can fix this
Last edited: