PDA

View Full Version : Include problem


FDM
01-26-2005, 10:10 PM
I'am making my website with flash, php and mysql.
Now i got this flash menu inserted in a php file (menu.php) with the help of dreamweaver.
(pulldownmenu: insert/media/flash, in dreamweaver 2004).

This file i include into another php-file, news.php

Now here is the problem:

When i open the page news, there is no menu showing (just this white box).
But when i open menu.php everything is working.

Does anyone knows how to fix this?

already tried the include require and require_once syntaxis but thats not the solution.

Greetz,

FDM

Mateusz
01-28-2005, 10:17 PM
It would be best if you can post link to this documents here.

Dark_Element
01-29-2005, 12:30 AM
try putting in the absoluite path for the flash movie in the php/html page and not a relative path (dreamweaver tend to do that).

FDM
01-30-2005, 08:34 PM
Tried your tips but even with the relative path it doesn't show up.

i uploaded some files with the codes in them.

The problem is when i open the login script (inside login folder) the menu will not show up. ../login/login.php
The menu is placed under: ../opmaak/menu/menu.php

What am i doing wrong here?

Dark_Element
02-01-2005, 10:09 PM
I see your problem. in menu.inc.php find this:
<embed src="menu_datum.swf" width="600" height="20" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

change the src to this:
../opmaak/menu/menu_datum.swf