php code in einer js datei

Meine letzte Idee bis hierher:
Code:
AddHandler php5-script .js .json
AddHandler php-script .js .json
AddType application/json .json
bzw.
Code:
AddHandler php5-script .js .json
AddHandler php-script .js .json
AddDefaultCharset utf-8
AddType 'application/json; charset=UTF-8' .json
 

Neue Beiträge

Zurück