Reply to show json in browser?

Your name:

Reply:


Posted by xu.devel on 04/26/07 14:44

Hello,

a browser will download the file test.php instead of to display it, if
the content type is text/x-json.

Is it possible to display the text in the browser?

== file: test.php ==
<?php
header("content-type text/x-json")
echo "test";
?>

thanks

best regards,
schuen

[Back to original 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

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