【发布时间】:2020-04-01 14:49:38
【问题描述】:
在下面的代码中,我尝试点击上传并转到upload.php。当您单击该按钮时,浏览器显示找不到错误 404。我附上了页面所在位置的截图:image 任何帮助将不胜感激。非常感谢。
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<body>
<div class="flex-center position-ref full-height">
@if (Route::has('login'))
<div class="top-right links">
@auth
<a href="{{ url('/home') }}">Home</a>
@else
<a href="{{ route('login') }}">Login</a>
@if (Route::has('register'))
<a href="{{ route('register') }}">Register</a>
@endif
@endauth
</div>
@endif
<div class="content">
<div class="title m-b-md">
Book Website!
</div>
<div class="links">
# HERE >>
<a href=upload.php>Upload</a>
<a href="https://nova.laravel.com">Edit</a>
<a href="https://blog.laravel.com">Publish</a>
<a href="https://laravel.com/docs">Search for a Book</a>
<a href="https://laracasts.com">Book Categories</a>
{{-- <a href="https://forge.laravel.com">Forge</a>--}}
{{-- <a href="https://vapor.laravel.com">Vapor</a>--}}
</div>
</div>
</div>
</body>
</html>
【问题讨论】:
-
你似乎在使用刀片模板引擎,这意味着你正在使用 laravel。这是正确的吗?
-
是的,我正在使用 laravel
标签: php html css visual-studio-code