Drupal 7 Is the a way to programmatically know the Fields in a Content Type?
field_info_instances(); will get you a list of all field types on a specific entity/bundle.

For example:

$fields = field_info_instances('node', 'movie');
print_r($fields);


Will give you a list of all available fields on the node type of movie.