how to download the result of a PHP script, e.g. a pdf file [closed]

Is it possible to download the result of a PHP script, e.g. a pdf file, from a web page with wget? And recursively “all pdf” files of a subtree of an URL?

I tried several wget parameters, for example:

"C:UsersUlie___U_SYNC_P__TOOLBOX_1wgetwget" -r https://www.merkur-zeitschrift.de/gratistexte/