Parse js/css as a PHP file using htaccess

前端 未结 6 1849
面向向阳花
面向向阳花 2020-12-10 07:36

Hi I have been trying so hard to do the following on htaccess but it does not seem to work.

can someone out there help me?

AddType application/x-httpd-

6条回答
  •  隐瞒了意图╮
    2020-12-10 07:50

    I don't know much about .htaccess but I do believe part the solution to your problem is to move the jQuery outside of the php tags as so:

    
    
        $(document).ready();
    
        
    

    the above code will return the current epoch timestamp inside of the SPAN element

提交回复
热议问题