Код: Выделить всё
Login
what's the password???
// taken from a StackOverflow answer
function showPasswd(){
var show = document.getElementById('show-passwd');
if (show.type == 'password'){
show.type='text';
}
else{
show.type='password';
}
}
Show Password
[url=clue.php]i don't know the password[/url]
[url=..]Go back home[/url]
Проблема при отображении кода не обнаруживается (я сомневается в его поиске. It happens also on the action="verify.php" also, it doesn't load the page properly.
The file verify.php is of course in the same folder as the index file
I tried modifying include() file string, like verify.php, diary/verify.php, and /DAIRY/VERIFY.PHP . Я ожидал, что он отобразит код, определенный из Verify.php (который также содержит процесс проверки). Вместо этого он отображает ошибку с надписью: < /p>
Warning: include(/diary/verify.php): Failed to open stream: No such file or directory in /Users/calvin/Downloads/pro70crazy/diary/index.php on line 39
Warning: include(): Failed opening '/diary/verify.php' for inclusion (include_path='.:') in /Users/calvin/Downloads/pro70crazy/diary/index.php on line 39
Warning: Undefined variable $code in /Users/calvin/Downloads/pro70crazy/diary/index.php on line 40
< /code>
Почему это происходит? И как правильно вставить имя файла, чтобы оно загружалось правильно и не искал файл в не существующем каталоге?
Подробнее здесь: https://stackoverflow.com/questions/797 ... -correctly
Мобильная версия