PerlASPX: Output binary data (images)
by Alexandr Zahatski other posts by this author
May 6 2005 1:00PM messages near this date
view in the new Beta List Site
make executable fails. pdkcheck.exe crashes
|
perlASPX error
FRAMEWORK Hi all !
Have:
perl ASPX application
I'm need to output binary data (images) from my application.
My code:
...
$this-> {Response}->{ContentType}='image/jpeg';
$this-> {Response}->Write($data)
...
out data but, image not rendered by browser.
I have some investigation and try :
...
$this-> {Response}->{ContentType}='image/jpeg';
$this-> {Response}->BinaryWrite($data)
...
and have error on compilation...
Is this possible and how ?
Thanks
Alexandr
_______________________________________________
Perl.NET mailing list
Perl.NET@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|