Re: [PHP] Help with inserting Flash into MySQL database

2002-09-05 Thread timo stamm
Hi Mitja, If I understand this right, the SWF file has to be a SWF file. To make it work like you want, you need a script that - writes the SWF from the db to a SWF file on the server, - returns HTML with object/embed tags and the path to the SWF file. Timo -- PHP General Mailing List

RE: [PHP] Help with inserting Flash into MySQL database

2002-09-04 Thread Mike Krisher
Right, but you need to insert your code block in a way that it is executed and then returns the name of a swf to load. Right now you are loading the client side object/embed tags that then calls another PHP file that returns the name or value of your SWF. You need to combine the two files and

Re: [PHP] Help with inserting Flash into MySQL database

2002-09-04 Thread Mitja Stepan
I don't thin I understand that... :) Can you give me an example. Or if I understand correctly, I have to use interface, a .swf file (caled with object tags) and this .swf file have to get information (data form database) throught .php file...? -- Lp, Mitja Mike Krisher [EMAIL PROTECTED] wrote

[PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Mitja Stepan
I'm using this script to insert picture into database: $data = addslashes( fread( fopen( $arrayUploadedSomething['tmp_name'], r), filesize($arrayUploadedSomething['tmp_name'] ) ) ); And then i use ordinary mysql_query to insert it into database (BLOB field). When i print image on screen, I use

Re: [PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Paul Colcutt
Hi Mitja, You need to specify the dimensions with the 'width' and 'height' attributes of the object tag and tell the movie to start playing with: PARAM NAME=PLAY VALUE=true For NS put WIDTH=xxx HEIGHT=xxx PLAY=true in the embed tag. HTH Paul At 7:54 pm +0200 3/9/02, Mitja Stepan wrote: I

RE: [PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Mike Krisher
Your embed source and object movie value needs to be a file path to a swf. Your values are currently set to something.php, needs to be something.swf. hope that helps, -- Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Mitja Stepan
No, it doesn't work... If I right-click on movie a contex menu opens, and there is an option Movie not loaded (which is disabled)... I think there is something wrong with printing .swf out of the database, but I cant figure out what... -- Regards, Mitja

Re: [PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Mitja Stepan
Yes, but I'm reading .swf file from database That is why a used: header(Content-Disposition: inline; filename= . $arraySomething['something_name'] ); You see, I thought that filename = ... told object the name of the file... But I don't now if it does ... probably not ... but how can I