[thelist] PHP question

James Spahr james at designframe.com
Wed Jul 19 16:32:06 CDT 2000


on 7/19/00 3:23 PM, Peter Van Dijck at peter at vardus.com wrote:

>> <?php
>> 
>> $Df_siteRoot = "/home/sites/site2/web/";
>> 
>> include ( $Df_siteRoot + "includes/DfPhpLib.inc");
>> include ( $Df_siteRoot + "includes/pageHeader.inc");
>> 
>> ?>
> 
> try include ( $Df_siteRoot . "includes/DfPhpLib.inc");
> $a . $b is used to put two strings together
> $a + $b is used to add two numbers.

Thanks this is what I ultimately used. Never used a language that used '.'
to add strings together - it caught me by surprise.

So far I'm fairly happy with PHP - I think I may stick with it.

I'm also very impressed with the online documentation, its excellent.

James.






More information about the thelist mailing list