|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60335 Regarding includeing external file
Submitted: 2011-11-19 07:40 UTC Modified: 2011-11-19 07:56 UTC
From: krmanish260 at gmail dot com Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.3.8 OS: ubuntu11.4
Private report: No CVE-ID: None
 [2011-11-19 07:40 UTC] krmanish260 at gmail dot com
Hi all,
 i have tried to send parameter through the include file. 

Test script:
example: include'footer.php/'.array('name'=>$name);
and include'footer.php/'.$name;

but showing errror as
failed to open stream: No such file or directory and
include(): Failed opening 'include/footer.php/Array' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')

Expected result:
Here I want to pass a value to the footer.php.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-19 07:56 UTC]
-Status: Open +Status: Bogus
 [2011-11-19 07:56 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

$footer = "this value can be accessed in footer.php";
include "footer.php";

  echo $footer;
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Sep 24 18:01:24 2023 UTC