Hi,

The $SERVER do not work i php5.
I upgraded my page from Php4. I want to register where my visitors have seen me, therefor I want to register the http referer site.
Don't this function work in php5 ? What is the difference ?

Espen J

Recommended Answers

All 2 Replies

$_SERVER not $SERVER maybe is just this?

What cereal says. You need to add an underscore between the $ and SERVER, which makes it $_SERVER instead of $SERVER.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.