Re: PHP code will not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 13, 2008 at 2:09 AM, Joseph Subida <jcspam0017@xxxxxxxxx> wrote:
>
> 105: <?php
> 106: echo $_SERVER['HTTP_USER_AGENT'];
> 107: ?>
>
> All the code before line 105 is code that I've been messing around with.  I
> tried testing those three lines in its own file. But I still get the same
> error:
>
> Parse error: syntax error, unexpected T_VARIABLE in
> /Library/WebServer/Documents/error.php on line 2

    Odd.... if you can run a phpinfo(), see if there's anything set in
`auto_prepend_file`.

    Is this a shared hosting system, or are you running it on your own
system?  Can you give us the output of your entire phpinfo() by link?

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux