php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30817 @ php-include, im LETZTEN Beitrag nicht "$page" aufgef?hrt
Submitted: 2004-11-17 20:55 UTC Modified: 2004-11-18 00:21 UTC
From: aurormiteinemohr at gmx dot net Assigned:
Status: Not a bug Package: Website problem
PHP Version: 5.0.1 OS: windows
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: aurormiteinemohr at gmx dot net
New email:
PHP Version: OS:

 

 [2004-11-17 20:55 UTC] aurormiteinemohr at gmx dot net
Description:
------------
im letzten beitrag ist nicht $page aufgef?hrt, owbwohl es f?r $filename nat?rlich ben?tigt wird, da diese ja folgenderweise definiert ist ...:   $filename = $path.$page.$extension;

Reproduce code:
---------------
<?php
  $path = 'http://tunichtgut.s01.user-portal.com/';
  $extension = '.php';
 
  if ( preg_match("#^[a-z0-9_]+$#i",$page) ){
   $filename = $path.$page.$extension;
   include($navi);
  }
?>

Expected result:
----------------
include file wird nicht angezeigt

Actual result:
--------------
include file wird nicht angezeigt

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-18 00:21 UTC] goba@php.net
This is not a php.net website problem. Please ask support questions at php-general@lists.php.net (in English), or try to find some German support options at http://php.net/support and http://php.net/mailing-lists
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC