Hi!

On Fri, 17 Mar 2006 17:42:51 +0200
Karl-Heinz Christian Zeck wrote:

> 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?

I guess, it's because the file is NOT being parsed.

If you go back to your first message (on this thread),
you had something like this:

  <script language="JavaScript" type="text/javascript"
    src="d:/projects/horde/dimp/js/ -snipped- ></script>

Why are you using "d:/" ?

If the machine you're working on happens to be your test
server as well, what you want is (something like this):

  src="http://localhost/path/to/srcDimpCore.js.php?etcetc";

> Thanks!

HTH,

- Edwin -

-- 
"An answer, when mild, turns away rage, but a word
 causing pain makes anger to come up." - Proverbs 15:1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to