php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12897 include
Submitted: 2001-08-22 09:57 UTC Modified: 2002-06-17 14:00 UTC
From: jordi_laf at hotmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.6 OS: freebsd
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jordi_laf at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-08-22 09:57 UTC] jordi_laf at hotmail dot com
Hi,
   when you do an include you should be able to include inclusion. Exemple <? include("reports.php?month1=".date("m")); ?>, it return a error message that say it's impossible, it have to be possible for flexibilty and logic.

Thank you

Jordi Lafortune

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-22 10:47 UTC] sniper@php.net
Please include a complete but short example script
into this bug report.



 [2001-10-02 04:54 UTC] sander@php.net
Reclassified. Reopened.
 [2002-06-17 13:59 UTC] hholzgra@php.net
do you have a file called reports.php?month1=06 ?
see the problem?

including URLs only works with absolute URLs:

<? include("http://server/pahth/reports.php?month1=".date("m")); ?>


 [2002-06-17 14:00 UTC] hholzgra@php.net
bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 16:01:33 2024 UTC