Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP content handler
#1
I would like to install and use a content handler for PHP (.php) files.
The content handler can be registered, but unfortunately the execute function of the content handler is NOT called.

TIWMimeTypes::RegisterType(L".php", L"text/php; charset=UTF-8", false);
THandlers::Add(L"/", L"*.php", new TIWH_Php());

However, it works with the same PHP files but with a different file extension (.myPhp).

TIWMimeTypes::RegisterType(L".myphp", L"text/php; charset=UTF-8", false);
THandlers::Add(L"/", L"*.myphp", new TIWH_Php());


Regrads
JuergenS


Attached Files
.zip   PhpHandler.zip (Size: 11.27 KB / Downloads: 3)
Reply


Messages In This Thread
PHP content handler - by JuergenS - 07-31-2022, 12:36 PM
RE: PHP content handler - by Alexandre Machado - 07-31-2022, 09:15 PM
RE: PHP content handler - by JuergenS - 08-01-2022, 09:05 AM
RE: PHP content handler - by Alexandre Machado - 08-02-2022, 04:59 AM
RE: PHP content handler - by JuergenS - 08-07-2022, 03:48 PM
RE: PHP content handler - by Alexandre Machado - 08-09-2022, 04:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)