You are here: Re: Problem with PHP Server-Side Script « PHP Programming Language « IT news, forums, messages
Re: Problem with PHP Server-Side Script

Posted by Janwillem Borleffs on 02/11/06 14:54

Amanda H. wrote:
> I checked the globals, and they were off, but is now on and seems to
> make no difference. I checked the PHP and it is using $_GET so who
> knows? Seriously, if anyone knows, tell me :).
>

I ran the examples and although they work, FireFox complaints about an
invalid MIME type.

To fix this, at the beginning of the file, add: the following on the top of
the styleswitcher.php script (just after the opening PHP-tag):

header('Content-Type: text/css');

BTW, did you get the text examples to work? If you did, you check the
differences between the implementations.


JW

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация