|
#1
|
||||
|
||||
Addittion to index.php
Hi i installed a flash forum to a subfolder of my pmbt.More accurate i installed a flash forum to root/myPinBoard/...
This flash forum has an index.php [ root/myPinBoard/index.php]: index.php PHP Code:
Code:
OpenTable("Forum:"); include("myPinBoard/index.php"); CloseTable(); also tried Code:
OpenTable("Forum:"); echo "<center>\n"; echo "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"910\" height=\"600\" id=\"sick\" align=\"middle\">\n"; echo "<param name=\"movie\" value=\"myPinBoard/Board.swf\" />\n"; echo "<embed src=\"myPinBoard/Board.swf\" quality=\"high\" scale=\"exactfit\" wmode=\"transparent\" width=\"910\" height=\"600\" name=\"sick\" align=\"middle\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n"; echo "</object>\n"; echo "</center>\n"; CloseTable(); when i type http://mysite/myPinBoard/index.php it shows just fine but i want it to show in http://mysite/index.php...How can this be done? |
#2
|
||||
|
||||
Not if you are using a defrent data base.
You would need to use Iframe for that.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#3
|
||||
|
||||
Quote:
i could install it to the same database...that is no problem...what should i write PHP Code:
Bump: I installed it again...now uses the same database with pmbt...it has only 3 tables admin replies topics none of wich is used in pmbt...what should i write in pmbt/index.php so that it shows correctly? |
#4
|
||||
|
||||
Quote:
as Joe mentioned you would be best iframe that to show better. something like below. Code:
if ($user->user) { OpenTable("Forum:"); echo "<iframe src=myPinBoard/index.php name=myPinBoard scrolling=no frameborder=no align=center height=235 width=100% allowtransparency=true></iframe>"; CloseTable(); } Code:
if ($user->user) { code here }
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#5
|
||||
|
||||
Thanx Daffy!...you really helped...it worked with a few modifications to the x,y dimensions!
|
Tags |
addittion , indexphp |
|
|