i am creating a pdf file using fpdf, and trying to upload that file to the server |
[eluser]dinisptc[/eluser]
i am creating a pdf file using fpdf, and trying to upload that file to the server can i do it without the upload_form ? i am getting this error Array ( [error] => You did not select a file to upload. ) Code: public function create_report_pdf()
[eluser]TheFuzzy0ne[/eluser]
Why are you using a form and requiring an uploaded file? I don't understand -- where does this report come from? Are you generating it from an uploaded file, or are you generating it from the database, or somewhere else? If you're not wanting to upload a file, then you don't need to use the upload library.
[eluser]hebe_210[/eluser]
HI, Im not quite clear about this error, frankly I have ever created pdf from XML,but not fpdf.and I use the following codes. Code: RasterEdgePdfCreator pdf = new RasterEdgePdfCreator(); |
Welcome Guest, Not a member yet? Register Sign In |