You are here: Re: parse errors being surpressed « PHP Programming Language « IT news, forums, messages
Re: parse errors being surpressed

Posted by flamer die.spam@hotmail.com on 12/17/71 11:52

yawnmoth wrote:

> I have two servers that have had PHP installed on them and...
>
> <?php
> echo 'hello, world!
> ?>
>
> ...displays a parse error on server A and doesn't display anything on
> server B.
>
> Any ideas as to what the problem is?

yes, you need have the echo line ending with a colon like so:

echo "Sup world??";

why does it work on one server and not the other.. well not sure off
the top of my head but will be soemthing in the php.ini config. Do a
phpinfo(); on each machine to compare.

Flamer.

 

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

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