Hello
I found this class which enables you to digitally sign PDF.
http://framework.zend.com/issues/browse/ZF-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel#issue-tabs
I downloaded it and also Zend classes. Install openssl to my webserver.

The problem is that it shows errors with file paths.
my file directory looks like this
-www
+Zend
-Certificate.php
-ElementRaw.php
and the rest of downloaded files in the same directory

The first error look like this:
Warning: require_once(Zend/Pdf/Page.php): failed to open stream: No such file or directory in /home/www/mvavra/devel/office_wtime/include/pdf/Zend/Pdf.php on line 27 Fatal error: require_once(): Failed opening required 'Zend/Pdf/Page.php' (include_path='.:/usr/lib/php5/php') in /home/www/mvavra/devel/office_wtime/include/pdf/Zend/Pdf.php on line 27

If i repair the path to Pdf/Page.php, the this error is gone but another path error shows then.

I dont use Zend framework so I am not sure if the directory path is correct.

Can anyone help with this?

The require statements in Zend Framework are relative to the Zend directory. You therefore need to add Zend Framework to your include path:

set_include_path(implode(PATH_SEPARATOR, array(
    '/path/to/Zend',
    get_include_path(),
)));

R.

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.