Hi all,
I tried to make a simple script that for the moment needs only to read the
content of a .dbx file.
I used:
#!c:\perl\bin\perl.exe
print "Content-type: text/html\n\n";
#here I printed a simple HTML header.
open (DAT, "$file");
while (<DAT>) {
print "$_";
}
# here the HTML footer.
I think this should print the content of the file on the screen.
But it prints only a line of text.
I think I know which could be the problem but I don't know the solution.
The file is a dbx one and it is not 100% text only.
I want to read all the file and to extract the text.
The line printed on the screen is:
ÏþÅýtofãÑšNÀO£ ÔðäÀ RTâ>l ð“ €÷ ‰ œÜ ð8p‹
Ô*qLçÐPl Ž L
Thank you for help.
Teddy,
My dear email address is [EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]