php code in a .js file?

From: Date: Wed, 28 Apr 2004 12:44:11 +0000
Subject: php code in a .js file?
Groups: php.general 
Request: Send a blank email to php-general+get-184862@lists.php.net to get a copy of this message
Hey all, I'm writing in the process of writing a content management system for a client.. it's in the logic stag right now but once piece of logic I am having trouble with is the Javascript files that have code that reference pages. I want to use absolute URLS by having PHP set the domain and script path but HOW do I get PHP parsed in a .js file? Any thoughts? Thanks! Aaron

« previous php.general (#184862) next »