0
   include "autoload.php";
   use \PHPOffice\Phpword\Phpword;

   $phpword = new PhpWord();

this is giving error on hostinger

unable to handle request, the page is not loading.

autoload.php file is:

<?php
function loadlibraries($class){
    $path=__DIR__."/lib/";
    require_once $path.$class.".php";
}
spl_autoload_register("loadlibraries");
?>
RiggsFolly
  • 93,638
  • 21
  • 103
  • 149

0 Answers0