Jump to content

Undefined Constant


Recommended Posts

it means you've tried to use a constant (a variable that doesn't/cant be changed throughout) that hasn't been 'defined'.

 

<?php
echo HELLO_MESSAGE; // will throw notice

define('HELLO_MESSAGE', 'hello world!');

echo HELLO_MESSAGE; // works fine as it's now been defined
?>

 

due to the specific constant undefined here (CURLOPT_GETFIELDS), i'd hazard a guess that you do not have cURL installed

Link to comment
https://forums.phpfreaks.com/topic/50649-undefined-constant/#findComment-248966
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.