help me - php nuke flash code

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   help me - php nuke flash code
rando
CZ Newbie
rando has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Dec 11, 2004
0.00 posts per day
Posts: 4
Points: 323
   
Im trying to make alarm flash block and I think I done something wrong because I get error message :

Parse error: parse error, unexpected T_CONCAT_EQUAL in /home/rando/public_html/forum/blocks/block-Alarm.php on line 5


my swf file is at [ Register or login to view links on this board. ]
and php-nuke is at [ Register or login to view links on this board. ]

code what I tried is :

<?php
$content = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,29,0\" width=\"150\" height=\"237\"> "
.="<param name=\"movie\" value=\"alarm.swf\"> "
.="<param name=quality value=high> "
.="<embed src=\"swf/alarm.swf\" quality=high
pluginspage=\"http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash\"
type=\"application/x-shockwave-flash\"
width=\"150\" height=\"237\"></embed>"
.="</object>";
?>



Back to top Reply with quote
#2   re: help me - php nuke flash code
_Aerospace_Eng_
CZ Active Member
_Aerospace_Eng_ has been a member for over 20 year's 20 Year Member
usa.gif
Age: 39
Gender: Male
Status: Offline
Joined: Nov 09, 2004
0.03 posts per day
Posts: 200
Points: 10,133
   
okay i dont know php that well but from what i do know about html i dont know if it will make a difference but your movie value should also match your embed src, you have swf/alarm.swf in ur embed src but you have only alarm.swf in the parameter movie value




_________________
Back to top Reply with quote
#3   re: help me - php nuke flash code
rando
CZ Newbie
rando has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Dec 11, 2004
0.00 posts per day
Posts: 4
Points: 323
   
still don't work



Back to top Reply with quote
#4   re: help me - php nuke flash code
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
Try this:
<?php
$content = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"150\" height=\"237\"> "
$content .="<param name=\"movie\" value=\"swf/alarm.swf\"> "
$content .="<param name=quality value=high> "
$content .="<embed src=\"swf/alarm.swf\" quality=high
pluginspage=\"http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash\"
type=\"application/x-shockwave-flash\"
width=\"150\" height=\"237\"></embed>"
$content .="</object>";
?>



Back to top Reply with quote
#5   re: help me - php nuke flash code
rando
CZ Newbie
rando has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Dec 11, 2004
0.00 posts per day
Posts: 4
Points: 323
   
nope still same
meybe problem is in that :
I copy paste it into notepad and then write alarm.php
then I renamed it to block-Alarm.php and uploaded under blocks dir and then I activated it under blocks ..



Back to top Reply with quote
#6   re: help me - php nuke flash code
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
What you need is the Block Creator here:
[ Register or login to view links on this board. ]

Paste your HTML code into it and click Create Block.



Back to top Reply with quote
#7   re: help me - php nuke flash code
rando
CZ Newbie
rando has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Dec 11, 2004
0.00 posts per day
Posts: 4
Points: 323
   
I don't have HTML code for it I just had alarm.swf file icon_sad.gif



Back to top Reply with quote
#8   re: help me - php nuke flash code
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
This is your HTML code for your movie (without the php code).

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,29,0" width="150" height="237">
<param name="movie" value="swf/alarm.swf">
<param name=quality value=high>
<embed src="swf/alarm.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"
width="150" height="237"></embed>
</object>



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum