Reply to Re: $txt line

Your name:

Reply:


Posted by Alvaro G. Vicario on 08/18/06 18:37

*** gavino escribió/wrote (17 Aug 2006 21:42:26 -0700):
> [client 207.71.33.86] PHP Notice: Use of undefined constant depend -
> assumed 'depend' in /var/www/html/billingticket/sliputils.php3 on line
> 203

In PHP you can create constants:

define('foo', 'I am a constant');
echo foo; // Prints: I am a constant

When you use a constant you haven't defined, PHP makes an educated guess:

echo bar; // Prints: bar

PHP guesses that when you say bar you really meant 'bar'.


> this is php3 app now on php 4.3.9

You just have different settings after upgrading. Formerly, you instructed
PHP not to inform about notice messages. The fact, now and then, is that
your code is missing several quotes ;-)


--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

[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

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