Javascript is client side and is not parsed by the server at all If you are generating javascript with PHP, and it is in an external file, it still needs a .php extension
Can you be more specific to the problem, paste some code? "Luis Miguel N. Tavora" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there. > > I've tried to include a simple javascript in a .php file, > but couldn't get it to work. > > Actually not even the php code worked at all... > > Is there any specific configuration flag that needs to be > set up in the Apache server so that the javascripts work > correctly? > > Thanks in advance > > Luis > > PS- Btw, I use an Apache server on a RH72 machine > > > > ------------------------------ > Luis Miguel N. Távora > [EMAIL PROTECTED] > > Message sent via Sylpheed > sylpheed-claws.sourceforge.net > ------------------------------ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php