beginner and simple question

A

Anonymous

Guest
hi,
My question is: If I have I script file written in PHP, and I am working on DreamweaverMX.
How can I include this file inside my page??
I tried to write this:
<? include 'http://localhost\/dfcalendar.php'; ?>
where the dfcalendar.php is the file that i want to include it.
localhost: is my server.
but there was an error in the line that contain the include statement??
this is the error:
Warning: Failed opening 'http://localhost\/dfcalendar.php' for inclusion (include_path='.;c:\apache\php\pear') in c:\apache\htdocs\final_site\tmp8r58yvwkgx.php on line 147


so plz :help:
 
Use include 'dfcalendar.php'; if the dfcalendar.php is in the same dir as the other one where you want to include dfcalendar.php!
 
Back
Top