7078RE: [NH] Re: Need help with path for PHP incude
- Mar 6, 2012OK, then use http://epicroadtrips.us/2011/mtown2gv_nov_2011_p1/w1navigation.php in your include path statement and not the server
<?php include_once(" <http://epicroadtrips.us/2011/mtown2gv_nov_2011_p1/w1navigation.php>
The include path you used may not be in your public html area?
With PHP, we can't see what the actual file looks like, just what is interpreted by the browser.
Pontiac Power Rules !!!
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Mike Breiding - Morgantown WV
Sent: Tuesday, March 06, 2012 2:06 PM
Subject: Re: [NH] Re: Need help with path for PHP incude
On 3/6/2012 11:45 AM, hockeyreferee_2000 wrote:
> I think that what you want is:
> <?php include_once("../2011/mtown2gv_nov_2011_p1/w1navigation.php"); ?>
Still will not work.
failed to open stream: No such file or directory in
on line 415
Warning: include_once(): Failed opening
'../2011/mtown2gv_nov_2011_p1/w1navigation.php' for inclusion
on line 415
> --- In email@example.com <mailto:ntb-html%40yahoogroups.com> , Mike Breiding - Morgantown WV<mike@...> wrote:
>> On 3/6/2012 10:52 AM, John Wallace wrote:
>>> The same way you do the other links?>
>>> a href = ' http://epicroadtrips.us/2011/az/fossil_creek/ '
>>> Since you don't have a file name listing in the urls, it will open 'index.html' or 'index.php'
>>> (or whatever the default is setup as)
>> I am trying to have http://epicroadtrips.us/2011/az/fossil_creek/ refer
>> to the menus here:
>>> John Wallace
>>> Pontiac Power Rules !!!
>>> From: firstname.lastname@example.org <mailto:ntb-html%40yahoogroups.com> [mailto:email@example.com
<mailto:ntb-html%40yahoogroups.com> ] On Behalf Of Mike Breiding - Morgantown WV
>>> Sent: Tuesday, March 06, 2012 12:34 PM
>>> To: NTB HTML
>>> Subject: [NH] Need help with path for PHP incude
>>> I seem to have forgotten something very basic.
>>> I cannot seem to get the path correct for this:
>>> I need http://epicroadtrips.us/2011/az/fossil_creek/ to use the PHP menu
>>> from here:
>>> How would the path be written to do that?
>>> <?php include("path to PHP menu"); ?>
>>> I have tried and tried but I cant seem to get it.
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>