Thank you for your quick reply.

I tried to modify the file. I removed all it's content and wrote only a
single line:
alert("test");

When I refresh the main page, I get the alert message - this means the file
was loaded successfuly.

Then I tried this code: alert("<?php echo 'test';?>");

This way it doesn't work, no alert message, so the file wasn't loaded.

Any ideas?

Thanks!


On 3/17/06, Barry <[EMAIL PROTECTED]> wrote:
>
> Karl-Heinz Christian Zeck wrote:
> > Hi everybody,
>
> > Are you allowed to do this? I mean, is the php file parsed by the PHP
> engine
> > first and a js code is generated that will be used
> > by the script element?
> >
> Yes
>
>
> --
> Smileys rule (cX.x)C --o(^_^o)
> Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to