faqts : Computers : Programming : Languages : PHP : Not Quite PHP : Javascript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 17 people (24%) answered Yes
Recently 2 of 10 people (20%) answered Yes


Is it possible to use PHP in my .js files? Or do I need to make new PHP code to write JS code?

Apr 18th, 2004 02:26
Fabian Weiss, Brian vanStokkum,

You can configure your browser or ad a .htaccess file into the folder, 
you want .js files treated as .php files!