ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl.net
perl.net
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved