Error sending pdf by Codeigniter 3

Asked

Viewed 24 times

0

I’m getting the bug

A problem was encountered while attempting to move the uploaded file to the final Destination

when trying to send a pdf through the form.

Follows the function that sends the resume: https://pastebin.com/4v3DXPq And the page https://pastebin.com/rURwqLG4

Strange, because I am using Wamp and the folder is with read and write permission.

1 answer

0

Good morning! Wamp is for Windows, and on Windows the two-point character : is invalid to create a filename. Check the line:

$nome_curriculo = date('Y-m-d_H:i:s').'.pdf';

Browser other questions tagged

You are not signed in. Login or sign up in order to post.