General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
View this message in context:
http://www.nabble.com/PHP-code-will-not-work-tp17811807p18362005.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List
/test.php on line 106
I tried Googling T_VARIABLE and haven't found any useful
solutions.
Any ideas? Thanks!
-J.C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
View this message in context:
http://www.nabble.com/PHP-code-will-not-work
On Thu, Jul 10, 2008 at 2:15 AM, Ted Wood [EMAIL PROTECTED] wrote:
PHP at the command line doesn't run within a web server environment.
Correct. EGPCS is inaccessible via the CLI (unless you
force-populate the variables and arrays). Only via a web server will
you have access to:
$_ENV
$_SERVER
$_ENV and $_SERVER are. Though their contents are doubtless different.
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Jul 10, 2008 at 11:07 AM, Richard Heyes [EMAIL PROTECTED] wrote:
$_ENV
$_SERVER
$_ENV and $_SERVER are. Though their contents are doubtless different.
Proof that old dogs can learn new tricks. As n00b and fundamental
as it may be, I took for granted that they
://www.php.net/unsub.php
--
View this message in context:
http://www.nabble.com/PHP-code-will-not-work-tp17811807p18362005.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida [EMAIL PROTECTED] wrote:
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the code
into a .php document and open it in my browser:
?php
echo $_SERVER['HTTP_USER_AGENT'];
?
I'm pretty sure PHP is enabled on
On Fri, Jun 13, 2008 at 2:09 AM, Joseph Subida [EMAIL PROTECTED] 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:
Joseph Subida wrote:
Daniel Brown wrote:
On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida
[EMAIL PROTECTED] wrote:
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the
code
into a .php document and open it in my browser:
?php
echo $_SERVER['HTTP_USER_AGENT'];
?
I'm
On Fri, Jun 13, 2008 at 1:51 PM, PJ [EMAIL PROTECTED] wrote:
I had a similar problem and this was suggested and it worked for me:
Try to put the global $_SERVER['HTTP_USER_AGENT'] into {}brackets:
echo '{$_SERVER['HTTP_USER_AGENT']}';
I'm not sure about the single quotes in your
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the code
into a .php document and open it in my browser:
?php
echo $_SERVER['HTTP_USER_AGENT'];
?
I'm pretty sure PHP is enabled on my computer. I've tested code such as:
?php
//Function arguments
function
On Wed, Jun 11, 2008 at 9:51 PM, Joseph Subida [EMAIL PROTECTED] wrote:
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the code
into a .php document and open it in my browser:
?php
echo $_SERVER['HTTP_USER_AGENT'];
?
I'm pretty sure PHP is enabled on my computer.
On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida [EMAIL PROTECTED] wrote:
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the code
into a .php document and open it in my browser:
?php
echo $_SERVER['HTTP_USER_AGENT'];
?
I'm pretty sure PHP is enabled on my computer.
13 matches
Mail list logo