Re: help with _get error
| From: | Donovan Brooke | Date: | Wed, 23 Mar 2011 21:18:47 +0000 |
| Subject: | Re: help with _get error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312024@lists.php.net to get a copy of this message | ||
Jack wrote:
Hello All, I'm having a problem with this line of code which worked fine for years: $l_url2 = ".".$_GET[SERVER_NAME]; Here is the error: [Wed Mar 23 13:33:49 2011] [error] [client 16.139.201.61] PHP Notice: Use of undefined constant SERVER_NAME - assumed 'SERVER_NAME' in /home//modules/jack.php on line 322 Thanks! JYou need to learn the differences in error reporting levels. My guess is you changed hosts recently. ;-) Donovan -- D Brooke