LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 08-01-2003, 02:07 PM
dv8's Avatar
dv8 dv8 is offline

Admin Mod
 
Join Date: Mar 2001
Posts: 2,053
Rep Power: 15
dv8 is on a distinguished road
Converting SWF Versions

Convert SWF Internal Version Number from 6 to 7
More Info View This Post

PHP Code:

//upload file is $userfile


$fp=fopen($userfile,"rb");
$data=fread($fp,filesize($userfile));
fclose($fp);

$data[3]=chr(7); //this is the only change - very simple...

header("Content-Type: application/octet-stream; name=".$userfile_name);
header("Content-length: " $userfile_size);
header("Content-Transfer-Encoding: binary");
header("Accept-Ranges: none");
header("Content-Disposition: attachment; filename=".$userfile_name."\n");
echo 
$data
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Access Textfield in Cross Domain SWF scantron13 Flash 8 2 12-21-2009 10:04 AM
Converting a PDF to a Flash FLA file without converting to an image first? Clere Design General Flash 1 10-03-2008 11:00 AM
Problems converting from SWF to MPEG or AVI to prep for DVD MystikalVI390 Newbies 2 06-17-2005 07:54 AM
flash audio: converting wav to swf kidmercury Sound and Music 1 03-31-2005 02:45 PM
Converting Video to SWF as vector shnak8 General Flash 1 03-05-2002 07:52 PM




All times are GMT. The time now is 04:06 AM.