Jump to content

using constats from the gloabal scope within eval();


M.O.S. Studios

Recommended Posts

The php code you put into the eval() must be valid php code, your's is missing the ; on the end of the php statement.

 

The fatal error you got should have alerted you to what was wrong -

Parse error: syntax error, unexpected $end, expecting ',' or ';' in your_file.php(4) : eval()'d code on line 1

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.