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 >> perl5-Agents
perl5-Agents
error message
by Berrak Yenal other posts by this author
Dec 15 2000 7:07PM messages near this date
Best New Trade Show Display by Opera Portables, Inc. adv | Best New Trade Show Display by Opera Portables, Inc. adv
Hi,=0D
I run orn1.pl from web and return   /usr/local/apache/logs/error_log  file =
this message:=0D
'Premature end of script  headers: /usr/local/apache/cgi-bin/orn1.pl'=0D
=0D
If I run this script from Unix shell, it wasn't an error message.=0D
What can I do , run the example script from web? or where can I find meanin=
g the errors?=0D
=0D
Orn1.pl is:=0D
=0D
#!/usr/local/bin/perl                                          =0D
#orn1.pl                                                       =0D
require 'cgi-lib.pl'                                           =0D
                                                               =0D
&ReadParse(*girdi);                                            =0D
print "Content-Type:text/html\r\n\r\n";                        =0D
print"<HTML> \n";                                               =0D
print"<HEAD> \n";                                               =0D
print"<TITLE> ISIM-YAS</TITLE>\n";                              =0D
print"<meta http-equiv=3D\"content-type\" content=3D\"text/html;   =0D
charset=3Dwindows-1254\"> \n";                                    =0D
print"</HEAD> \n";                                              =0D
print"<BODY> \n";                                               =0D
print"Merhaba";                                                =0D
print"</BODY> \n";                                              =0D
print"</HEAD> \n";                                              =0D
print"</HTML> \n";                                              =0D
                                     =0D
Berrak Uyar Yenal=0D
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
-------=0D
Mali Sistemler Musavirlik AS www.msm.com.tr=0D
B.Dere Cad No:163 K:4 ISTANBUL Tel:0 212 336 1194 Fax: 212 336 1169 =0D
=0D
Software Development, Network Design&Implementation, IT Consultancy,  24X7 =
Data Center Management=0D
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
------- =0D
Attachments:
unknown1


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved