Just so you know why, you can't call $_SERVER['something'] from inside 
quotes, because $_SERVER isn't a variable, it's an *array*.
You can't access an array from inside quotes... you've got to 
concatenate the string like you did in your example.  :)

-Jeromie

>>Basically I just moved the first line into an echo statement. Then moved
>>the $_SERVER variable so that it wasn't directly inside the quotes. I
>>have noticed that sometimes, PHP doesn't expand the _SERVER variable
>>when it is directly inside the quotes.
>>
>>Hopefully this makes some sense and will help you out.
>>--
>>Doug
>>
>>Registered Linux User #285548 (http://counter.li.org)
>>----------------------------------------
>>Random Thought:
>>Go climb a gravity well!
>>
>>
>>
>>The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web 
>>database possibilities through group learning.  
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>    
>>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web 
>database possibilities through group learning.  
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>


The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to