I am creating a page called "blank"
How can I download this page? Am in PHP as an HTML string? I know that the PHP "file_get_contents" function can do the trick, but I would prefer a method, where the API of the drupal has a page with generated node id x, and I can hold the entire page generated just as an HTML string I am
How do anyone know this?
I think you are calling to call this code from within a Drupal Page Drupal Will not work because the drum uses the global variable and uses the path when generating paths. Best to use HTTP to request the page and use the result.
Comments
Post a Comment