You are here: Re: PHP leaves unexpected Blank like cause xml to fail « PHP Programming Language « IT news, forums, messages
Re: PHP leaves unexpected Blank like cause xml to fail

Posted by Rik on 07/17/07 15:21

On Tue, 17 Jul 2007 17:17:34 +0200, SA SA <suacharya@gmail.com> wrote:

> Hello,
> I need help from php expert. I have simple php page which retrieves
> data from MySql and outputs as xml format. Everything works but in xml
> file it leave a Blank like at the beginning of the file. Which causes
> xml parser to go nuts. How do i avoid that space? I read on other post
> - php header call usually does exhibit that behaviour but i tried
> taking header our but did not make any difference. Here is a sample:

PHP does not ouput anything you don't tell it to do. Check all your
(included) files for newlines outside <?php ?> tags. Probably in config.php

--
Rik Wasmus

 

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

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