You are here: Re: Inclusion confusion (Javascript in function?) « PHP Programming Language « IT news, forums, messages
Re: Inclusion confusion (Javascript in function?)

Posted by Alan Little on 10/19/81 11:47

Carved in mystic runes upon the very living rock, the last words of
Steve Brecher of comp.lang.php make plain:

> I wrote:
>> I find a small debugging package at
>> http://www.zend.com/zend/tut/tutorial-DebugLib.php
>> and take the script presented there and name its file debugging.php.
>> It includes several function definitions, but no other code.
>
> But it does include a space character at the start of the file
> immediately before "<?php" and that is what generated the warnings.

Always the first thing to suspect, with that sort of problem. The second
thing to suspect is white space after the ?>, and the third thing to
suspect is invisible characters (e.g. control characters) which can creep
in upon occasion.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

 

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

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