# Dreamweaver MX (not 04) PHP code hint Error for $\_SERVER

**URL:** <https://forum.kirupa.com/t/dreamweaver-mx-not-04-php-code-hint-error-for--server/39980>\
**Category:** web dev\
**Created:** [January 13, 2004, 1:00pm UTC](https://forum.kirupa.com/t/dreamweaver-mx-not-04-php-code-hint-error-for--server/39980 "2004-01-13T13:00:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [January 13, 2004, 1:00pm UTC](https://forum.kirupa.com/t/dreamweaver-mx-not-04-php-code-hint-error-for--server/39980/1 "2004-01-13T13:00:08Z")

</div>

I just noticed this today. If you start typing $\_SERVER in Dreamweaver, you get a code hint for $\_SERVER. Then, once you have that it has server variables, one being HTTP\_REFERER. Now, if you select that one, though it says HTTP\_REFERER in the code hint, once its placed on the screen its as HTTP\_REFERRER with an extra R :sure: Crazy typos! You can easily fix this yourself by opening the code hints XML file in

C:\Program Files\Macromedia\Dreamweaver MX\Configuration\CodeHints  
_(or equivelent)_

and searching from HTTP\_REFERRER replacing it with HTTP\_REFERER. Save, restart Dreamweaver MX and you’re good to go.

That one screwed me over for a little while there 😛
