Bug #17420: Error including files
| From: | mv dot souza at bol dot com dot br | Date: | Fri, 24 May 2002 20:47:43 +0000 |
| Subject: | Bug #17420: Error including files | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8439@lists.php.net to get a copy of this message | ||
From: mv.souza@bol.com.br
Operating system: Linux mapi2.distro.conectiva 2.4
PHP version: 4.1.2
PHP Bug Type: Scripting Engine problem
Bug description: Error including files
I DON´T KNOW WHO ELSE CAN HELP ME
PLEASE, SAVE A BRAZILIAN WITH PROBLEMS
*** my phpversion is 4.1.1 ***
I have two machine with PHP and Apache
At the first the following script works
http://www.pbh.gov.br/smsa/montapagina.php?pagina=unidades/unidades.php?unidades=csaude
but don't works in another
http://www.pbh.gov.br/smsa/montapagina2.php?pagina=unidades/unidades.php?unidades=csaude
the script is the following:
<?
include("menu.inc");
?>
<?
//$base_href="http://www.pbh.gov.br/smsa/"; //don't
working in machine 1
//$base_href="/www/docs/wwwpbh/smsa/";
//$base_href="";
$base_href="http://www.internet.pbh.gov.br/smsa/";
//working in machine 2
include("$base_href" . "$pagina");
//include("$pagina");
include("contador.php");
?>
I don´t know if the problem is related with apache Apache/1.3.22
IF YOU CAN'T HELP ME, PLEASE, SAY WHO CANS.
--
Edit bug report at http://bugs.php.net/?id=17420&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17420&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17420&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17420&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17420&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17420&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17420&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17420&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17420&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17420&r=globals