i am creating a pdf file using fpdf, and trying to upload that file to the server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: i am creating a pdf file using fpdf, and trying to upload that file to the server (/showthread.php?tid=58117) |
i am creating a pdf file using fpdf, and trying to upload that file to the server - El Forum - 05-17-2013 [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() i am creating a pdf file using fpdf, and trying to upload that file to the server - El Forum - 05-19-2013 [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. i am creating a pdf file using fpdf, and trying to upload that file to the server - El Forum - 05-29-2013 [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(); |