I am trying to open pdf file that I have uploaded and when click on website it's showing file not found 404 –

Posted 1 month ago by me10071990


                                    <div class="entry-content">

                                        <a  target="_blank" href="{{$post->file}}"><p style="font-size: 18px;color: #468b10;">   {{ $post->content }}</p></a>



if (request('file')) { $file = request('file');


        $file_name = time() . $file->getClientOriginalName();

        $file->move('uploads/posts', $file_name);

        $data['file'] = 'uploads/posts/'.$file_name;

Please sign in or create an account to participate in this conversation.