Code Comments
Programming Forum and web based access to our favorite programming groups.From: aurormiteinemohr at gmx dot net
Operating system: windows
PHP version: 5.0.1
PHP Bug Type: Website problem
Bug description: @ php-include, im LETZTEN Beitrag nicht "$page" aufgeführt
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
--
Edit bug report at http://bugs.php.net/?id=30817&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=3081...0817&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=3081...30817&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30817&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=3081...edtwice
register_globals: http://bugs.php.net/fix.php?id=30817&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30817&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30817&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30817&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30817&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30817&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30817&r=mysqlcfg
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.