19 Mar 2009

Q1. In this exercise with can call up and examine some environment variables on the server....

Exercise 6: Some server practice with PHP
Q1. In this exercise with can call up and examine some environment variables on the server. The code below has the UNIX environment variable for storing your remote Internet address. UNIX environment variable are recognized by the use of upper case letters. Try the same code by replacing with $REMOTE_ADDR, $SERVER_NAME, or $PHP_SELF

Answer:


The output of the PHP's variables $REMOTE_ADDR, $SERVER_NAME & $PHP_SELF is in Diagram-9.


Diagram-9 - The output of PHP's variables $REMOTE_ADDR, $SERVER_NAME & $PHP_SELF



No comments:

Post a Comment