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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 14:01:30 2025 UTC