1

First sorry for my bad english.

I have problem with generate the pdf file and save the pdf to server, each with different content.
In my case, has been divided into different respective functions as required in generating pdf file.
Example...
function some_one() { // generate pdf...and save to server }
function some_two() { // generate pdf...and save to server }

If I just call one function, it successfully. but when calling two functions sequentially, pdf files are not successfully generated. Please can solve this problem??
i found when i try in local, it work fine, can execute 2 pdf in same time. But when i try on server development, it cannot work fine like in local