See What is a full server path.
Especially if you’re going to have other people editing these entries you do not want entries parsing PHP. Otherwise whomever can edit can output every detail of your PHP/MySQL environment and this opens up a huge security hole.
Why not have the PHP code in the template and an entry with just the values, then feed the custom field values into your PHP. Much safer and easily updated.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.