Jump to content

PHP URL HOST ERROR


Recommended Posts

Bonjour,

j'ai une sale erreur

Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /home/vhosts/MONSITE.COM/httpdocs/classes/Connection.php on line 85

Warning: parse_url() expects exactly 1 parameter, 2 given in /home/vhosts/MONSITE.COM/httpdocs/classes/Connection.php on line 85

voila ce que j'ai en ligne 85 :

if (preg_replace('/^www./', '', parse_url($referer, PHP_URL_HOST)) == preg_replace('/^www./', '', $_SERVER['HTTP_HOST']))

quelqu'un peut m'aider ?

HELP MERCI

WiL

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...