Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » include on php
include on php [message #799561] Thu, 16 February 2012 02:49 Go to next message
ron mara is currently offline ron maraFriend
Messages: 1
Registered: February 2012
Junior Member
can someone help me with "include" script problem.

I have a project with the following file structure:

my website/templates/include/header.php
my website/view/state/newyork.php

I keep getting "failed to open stream error" when i try to include header.php in newyork.php

I have read about changing php ini settings and other methods but i need someone to explain how to set include settings so that all scripts work in different sub-directories using the structure of the files above.
PhP 5.3.8

Re: include on php [message #799568 is a reply to message #799561] Thu, 16 February 2012 03:02 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.02.15 19:49, ron mara wrote:
> can someone help me with "include" script problem.
>
> I have a project with the following file structure:
>
> my website/templates/include/header.php
> my website/view/state/newyork.php
>
> I keep getting "failed to open stream error" when i try to include
> header.php in newyork.php
>
> I have read about changing php ini settings and other methods but i need
> someone to explain how to set include settings so that all scripts work
> in different sub-directories using the structure of the files above. PhP
> 5.3.8

There's a separate Eclipse forum for PHP development questions.
Previous Topic:Newbie to Eclipse...
Next Topic:UML plugin
Goto Forum:
  


Current Time: Fri Apr 19 21:19:13 GMT 2024

Powered by FUDForum. Page generated in 0.07312 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top