Bug #10639 Updated: include() & require()

From: Date: Mon, 07 May 2001 08:00:29 +0000
Subject: Bug #10639 Updated: include() & require()
Groups: php.dev 
Request: Send a blank email to php-dev+get-54187@lists.php.net to get a copy of this message
ID: 10639 User Update by: sb@bpm.ch Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Operating system: AIX 4.3.3 PHP Version: 4.0.4pl1 Description: include() & require() Here is a sample script: --- test.php -------------------- <?php include("test.inc"); ?> --------------------------------- --- test.inc -------------------- <html> <head> <title>test</title> </head> <body> <p>this is a test</p> </body> </html> --------------------------------- Normaly you will see on http://www.mydomain.com/test.php the content of the file test.inc as standard HTML page. On your PHP implementation the page test.php will not be found. Stephan Previous Comments: --------------------------------------------------------------------------- [2001-05-04 15:33:22] sniper@php.net Please add some short example scripts into this bug report. Which explains what you're trying to do. --Jani --------------------------------------------------------------------------- [2001-05-03 13:08:14] sb@bpm.ch On AIX 4.3.3(ML6) with PHP and Apache from IBM's Linux Toolbox the functions include() and require() don't work correctly. If these functions are used, a "page not found" error occures. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10639

« previous php.dev (#54187) next »