lundi 27 mai 2019

I have uploaded the pdf file and when clicked on website on link it's showing file not found

I am trying to click and open my pdf file on website that I have uploaded from admin , but it's showing not found 404

view

    <div class="entry-content">

   <a  target="_blank" href="">

   <p style="font-size: 18px;color: #468b10;"> 

    </p></a>

                                    </div>

Controller

         if (request('file')) {

        $file = request('file');

        $file=$file_name::get($file);

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

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

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



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2WsxWdS
via IFTTT

Aucun commentaire:

Enregistrer un commentaire