Re: php & JavaScript
| From: | BB | Date: | Mon, 24 Jun 2002 12:38:03 +0000 |
| Subject: | Re: php & JavaScript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103573@lists.php.net to get a copy of this message | ||
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" <lmtavora@estg.iplei.pt> wrote in message
news:20020624122826.747e8801.lmtavora@estg.iplei.pt...
> 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
> lmtavora@estg.iplei.pt
>
> Message sent via Sylpheed
> sylpheed-claws.sourceforge.net
> ------------------------------