PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 10:35 am
Code: Select all
<?
$page=$_GET['page'];
$id = array(
'mu' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="750" height="150" title="mu server">
<param name="movie" value="data/swf/mu.swf" />
<param name="quality" value="high" />
<embed src="data/swf/mu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="150"></embed>
</object>',
);
if (!isset ($id[$page])){
echo "";
}
else {
@include ($id[$page]);
}
?>
How to make it work ?
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Thu Jan 12, 2006 10:40 am
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 10:45 am
Nop, stil dont work whar I go to localhost
http://127.0.0.1/index.php?page=mu
I think there is bug noy in php script but in flash form, the way I include it
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 11:15 am
PLeas Help anyone !!!
JayBird
Admin
Posts: 4524 Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:
Post
by JayBird » Thu Jan 12, 2006 11:27 am
spamyboy wrote: PLeas Help anyone !!!
I really wish you would stop doing this! Consider this a warning!
Charles256
DevNet Resident
Posts: 1375 Joined: Fri Sep 16, 2005 9:06 pm
Post
by Charles256 » Thu Jan 12, 2006 12:11 pm
remove the error supression from your include?stop using error supression.stop it,stop it,and stop it;) I swear all your scripts have ten @'s in em