WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

 
 
Themen-Optionen Ansicht
Alt 31.08.2002, 01:38   #1
James
Meisteroptiker
 
Registriert seit: 19.05.2000
Ort: Salzburg
Alter: 43
Beiträge: 1.495


James eine Nachricht über ICQ schicken
Standard "Premature end of script headers:" apache

[Sat Aug 31 01:01:20 2002] [error] [client 192.168.0.114] Premature end of script headers: c:/apache/php/php.exe

das kummt wenn ich dieses file aufrufe

<html>
<body>
<?php
// This line is used here because ming it's loaded as an independant PHP extension in neuralust
if ($HTTP_HOST=="www.neuralust.com") { dl ("../php_ming.so"); }

/* Ming_useSWFVersion(4); */
$myFont=new SWFFont("test.fdb");
$myText1=new SWFText();
$myText1->setFont($myFont);
$myText1->setColor(0,0,255);
$myText1->setHeight(20);
$myText1->moveTo(-$myText1->getWidth("Action Script!")/2, -$myFont->getAscent()/2);
$myText1->addString("Action Script!");
$mySprite=new SWFSprite();
$firstText=$mySprite->add($myText1);
for($i=0; $i<24; $i++){
$firstText->rotate(15);
$mySprite->nextFrame();
}
for($i=0; $i<24; $i++){
$mySprite->nextFrame();
}
$myMovie=new SWFMovie();
$myMovie->setDimension(400,200);
$myMovie->setBackground(255,255,0);
$firstSprite=$myMovie->add($mySprite);
$firstSprite->moveTo(-$myText1->getWidth("Action Script!"), 200/2+$myFont->getAscent()/2);
$firstSprite->setName("myWords");
$myMovie->add(new SWFAction("if(/myWords.x>400){/myWords.x=0;}else{/myWords.x+=4;}"));
$myMovie->nextFrame();
$myMovie->add(new SWFAction("gotoFrame(0); play();"));
$myMovie->nextFrame();
$myMovie->save("lesson15.swf");
?>
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=objects WIDTH=400 HEIGHT=200>
<PARAM NAME=movie VALUE="lesson15.swf">
<EMBED src="lesson15.swf" WIDTH=400 HEIGHT=200 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</OBJECT>
</body>
</html>

ich mein das is jetzt nur eins ab und zu funkts und ab und zu ned also mit verschiedenen scripts und ich weiss ned wo ich da im php.ini oder apache config drehen sollte das des funkt...

alles läuft auf winXP...mit den neusten apache und php versionen

vielleicht hat ja wer eine idee
James ist offline   Mit Zitat antworten
 


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:09 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag