|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-02-11 07:37 UTC] s dot birkhoff at liwest dot at
require/include/require_once/include_once would only in the way
require './mypath/thisfile.php'
and no more as written in the documentation
require ("./mypath/thisfile.php") this will cause in a error:
failed to create stream...
it also won't work the way require
$classpath = "./mypath/";
($classpath."thisfile.php");
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 27 23:00:01 2025 UTC |
What won't work is: require ("/mypath/thisfile.php"); require ($mypath."thisfile.php"); what work is: require '/mypath/thisfile.php';