note 101902 deleted from function.session-start by danbrown

From: Date: Mon, 17 Jan 2011 14:37:22 +0000
Subject: note 101902 deleted from function.session-start by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175832@lists.php.net to get a copy of this message
Note Submitter: nizamgok at gmail dot com ---- Be aware that when you deliver your flash file through php, session_start() does not run in Opera, Safari and IE9. I didn't test it with IE6-8. Chrome and Firefox are OK. I don't know the real reason but guessing some of the header data are missing. swf.php: <?php session_start(); // this doesn't execute in some browsers header('Content-type: application/x-shockwave-flash'); readfile('/path/to/flash.swf'); ?> <object width="550" height="400"> <param name="movie" value="http://example.com/swf/"> </object> * swf directory has an .htaccess file which points to swf.php

« previous php.notes (#175832) next »