Hi,
I downloaded a code for creating a pdf via php. It is called
tcpdf

I would like to change the header with other text, But I can't find
the file I have to modify.
Also I would like the line of header lower

Could you help me ?
Thanks in advance

Member Avatar for diafol

I would like to change the header with other text, But I can't find
the file I have to modify.

So you think we'll be able to scry the location of the file on your system?

Also I would like the line of header lower

Have you read the documentation? Positioning of elements?

I am sorry for the post but I am beginner and I try to find it .
The post is not my first action

In your php script that generates pdf you have to override existing method Header() with your code.There are nice examples on their website, see

http://www.tcpdf.org/examples/example_003.phps

To add custom text to the header use the Cell() method.

In your php script that generates pdf you have to override existing method Header() with your code.There are nice examples on their website, see

http://www.tcpdf.org/examples/example_003.phps

To add custom text to the header use the Cell() method.

Thanks a lot for your help

You are welcome. Please mark this thread as solved if your question has been answered. Happy coding in 2012.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.