Closed lincab closed 5 years ago
I'm sorry, but this is not really related to the library. I don't know what wkhtmltopdf
does in this case. You should point your question to the wkhtmltopdf developers. This here is only a PHP class that wraps around the binary.
We use the xvfb server with this library, but we need access to the post variables that's being send with the following command on the page that we're loading and we can't access it, or is there is a special way of accessing it:
$wkhtmltopdf->binary = "xvfb-run /usr/bin/wkhtmltopdf --post orderid 33243 --post listid 20393 --cookie PHPSESSID lg4ss6hnsbj8ol98uftian3cq0";
$pdf = $wkhtmltopdf->send($file, true);
We've tried the normal $_REQUEST['orderid'], but without any luck.