umm i wanted to inlcude a php file into my homepage i built in dreamwaver.
How do i do that ? Including a flash is simple 😃 Click on flash icon and include 😃
but what do i do with a php file ?
Plx help !
open the page in source view and use the include() php function, BTW, get away from those wysiwyg editors, all they ever do is create problems
Read dreamweaver docs! There are some good PHP/ColdFusion/ASP tutorials there.
look, i opened dreamwaver 3.0 and opened the html editor with f10
then i put that :
<?php chdir(warscript); $show_na = "nextaction"; include("http://mitglied.lycos.de/hoonix/cws/mini_na_nw.php"); ?>
into it but it just shows me a white screen no errors nothin ??!
do i have do do somethin else before!
sorry use this
<? include 'whatever.php'; ?>
you can check your include_path with a php page with only the following in it
<? phpinfo(); ?>
From what I know, you can't include() anything that isn't in your path.
You'd need to use readfile() or fopen()
I may be wrong.