PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
File_DICOM HELP needed

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> File Formats
View previous topic :: View next topic  
Author Message
teddynitin



Joined: 11 Nov 2006
Posts: 1

PostPosted: Sat Nov 11, 2006 2:20 pm    Post subject: File_DICOM HELP needed Reply with quote

Hello everyone

I need your help
i have installed File_DICOM pear package on my system but i am not able to work on it i.e. the sample program given with its documentation is not working on my system while other packages are working. Although File_DICOM package has been successfully installed on my system.

The code which i am running is as following:

<?PHP
require_once('File/DICOM.php');

$dicom_file = new File_DICOM();
$res = $dicom_file->parse('brain_020.dcm');
echo $dicom;
echo $res;

// check for errors
if (PEAR::isError($res)) {
die($res->getMessage());
}


$sdf=$dicom_file->getValue('Patient ID');
echo $sdf;
echo $dicom_file->getValue(0x0010, 0x0020)."\n";
?>

I Get the following output:

1ObjectObject

Plz help me solve my problem regarding this and tell me links to download few sample codes which are running and the process to go about it.

I am thanking to anybody in advance who comes and solve my query

regards
Nitin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> File Formats All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software