Jump to content

Recommended Posts

Well what I am doing is making a list of files that I have available, the files are files from Crystal Reports, they are used for stuff at school. What I need to do is make a list of all the files in the directory and then the "Comments" from the summary data so that people will be able to know what each report does. This is what I run now.

 

 

$dir = dir("../crystal/");
while (($file = $dir->read()) !== false)
{
if ($file == "."){
echo "";
}elseif ($file == ".."){
echo "";
} else {
$file3=ereg_replace("_", " ", $file);
$file3=ereg_replace("symand", "&", $file3);
echo '<a href='.$file.' target=_blank>'.$file3.'</a>';
echo '<br>';
}
}$dir->close();

 

To figure out what to parse would you need a sample .rpt file or how would this be done?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.