how to create a pdf from html in php?
Besides web pages, you can also convert a local HTML file or an HTML string: <? php $pdf = $client->convertFile('/path/to/your/file. html'); $pdf = $client->convertString('<b>bold</b> and <i>italic</i>'); ?>