This is a discussion on "external javascript problem" within the PHP Forum section. This forum, and the thread "external javascript problem are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
external javascript problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
external javascript problem
Hi
I'm using a freely available php script to host my rss1.0 but, because php is forbidden on our main websever, I have to convert the html generated by this free script into javascript and externally invoke this from whatever page on the main webserver, using the method outlined here... http://www.javascriptkit.com/javatut...ernalphp.shtml <script type="text/javascript" src="http://[...]feed2html.php"></script> This works fine in Firefox but not in IE 6 or Opera. What happens when I call the php file directly in the browser is that it promts me to download it, giving me an "unknown file type" alert. It seems as though the header function... header("Content-type: application/x-javascript"); doesn't work in IE. Am I doing anything wrong here? Damian |
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can anyone solve my external php problem? | dilby | PHP Forum | 3 | Apr 19th, 2007 21:04 |
| Problem with IE, think its external javascript includes | rewind1000 | JavaScript Forum | 5 | Aug 19th, 2005 12:00 |
| Problem with latency when loading external movies | ST | Flash & Multimedia Forum | 10 | Aug 4th, 2005 11:19 |
| External Javascript | MikeV | JavaScript Forum | 5 | Aug 11th, 2004 08:12 |