Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Jefferis NoSpamme #1
Php Include path errors.
Regular include files seem to have no problem on my host, pair.com.
I am finding a problem though with php pages not being able to read includes
and giving me path errors. Not sure what the problem is. However,
This format is ignored:
<!--#include virtual="/headerinc.inc" --> even when in regular html areas.
While this one gives path errors:
<?php require_once('/headerinc.inc'); ?>
This file can be read:
<?php require_once('headerinc.inc'); ?> but I cannot use a relative link for
creating a template...
When I do, it gives this kind of local path
<?php require_once('file:///HD/WebSites/Joden/menu.inc'); ?> in the
template which produces online errors, obviously.
Any solutions?
~~~~~~~~~~~~
Jefferis Peterson, Pres.
Web Design and Marketing
[url]http://www.PetersonSales.com[/url]
Jefferis NoSpamme Guest
-
include path
Hi, It seems my include path in php.ini is not ok include_path = ".;"C:\Program Files\EasyPHP1-7\www\JeanPierreDaviau\~inc\";C:\Program... -
#26259 [Opn->Bgs]: relative include path not working with include() from shell command line execut
ID: 26259 Updated by: iliaa@php.net Reported By: orsaini at allainet dot com -Status: Open +Status: ... -
#26259 [NEW]: relative include path not working with include() from shell command line execut
From: orsaini at allainet dot com Operating system: Lunux Apache 2.0.47 PHP version: 4.3.2 PHP Bug Type: ... -
pear include path
Hi, Is there a way to find the path to pear libraries (such as DB.php) if you do not have shell access? I have access to some space on an ISP's... -
ASP File Include Path
Hi I have a #Include statement in an Asp page. I want to find the path of the included file at runtime. How can I do that? Please Help! -... -
rob::db #2
Re: Php Include path errors.
There's no real point using DW templates if you're using PHP, surely? I
mean, DW templates are just a substitute for real ones...
Jefferis NoSpamme wrote:> Regular include files seem to have no problem on my host, pair.com.
>
> I am finding a problem though with php pages not being able to read
> includes and giving me path errors. Not sure what the problem is.
> However,
> This format is ignored:
> <!--#include virtual="/headerinc.inc" --> even when in regular html
> areas. While this one gives path errors:
> <?php require_once('/headerinc.inc'); ?>
>
> This file can be read:
> <?php require_once('headerinc.inc'); ?> but I cannot use a relative
> link for creating a template...
>
> When I do, it gives this kind of local path
> <?php require_once('file:///HD/WebSites/Joden/menu.inc'); ?> in the
> template which produces online errors, obviously.
>
> Any solutions?
> ~~~~~~~~~~~~
> Jefferis Peterson, Pres.
> Web Design and Marketing
> [url]http://www.PetersonSales.com[/url]
rob::db Guest



Reply With Quote

