PHP, Swift-mailer problem

前端 未结 4 584
灰色年华
灰色年华 2020-12-07 02:51

When I click submit button on my contact page, trying to submit a form that uses swift-mailer, I get this:

Warning: fopen(uploads/) [function.fopen]

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-07 03:02

    From the error messages, it seems as if you were specifying a directory where a file path is needed. Maybe because of a missing variable that is supposed to contain the file name.

提交回复
热议问题