Re: On one of my computers, php can't see an external javascript I included

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



googling1000 wrote:

> 
> I have apache and php on Windows.
> I have 3 computers. A php file is calling an external .js file.
> Two of my computers have no problem calling a .js file, there's only
> one machine that doesn't execute functions inside of the .js file.
> 
> My .php file has the following line in the beginning of the file:
> <script src="myfunctions.js"></script>
> 
> My .js file consists of a number of functions written in javascript
> 
> I don't know why functions inside .js file doesn't get executed.
> 
> I tried copy/paste all the functions inside the .js file to my .php
> file and it works.

Check your apache log files to make sure your javascript source file is
being loaded. 


/Per Jessen, Zürich


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux