Hi all
I'm learning PHP and MySQL by myself, to make some practice, create an account here at 000webhost to have my work at internet, but i have a problem.
I was working with fpdf at PHP to verify how it could work, I could make it work in my pc (Localhost) but when i transfer my files to my site here doesn't work. In the moment I want to create a PDF file from PHP with fpdf recive this error
Quote:
|
Fatal error: require() [function.require]: Failed opening required '/fpdf/fpdf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a4494395/public_html/GTA/imprimir_choferes.php on line 2
|
In a php file create a button where you can create a pdf file if you want (with a button) but after push it in the new window i see that error.
In my pc i have the imprimir_choferes.php file in root and fdpf.php file in a fpdf directory, I transfer that directory to my site so the path is must be the same as in my pc, but isn't working.
Do you know what i have wrong with this?
Thanks for your time and attention.