note 102778 added to function.include-once

From: Date: Sun, 06 Mar 2011 04:52:43 +0000
Subject: note 102778 added to function.include-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-177586@lists.php.net to get a copy of this message
I am trying to use PHP 5.3.5 for development of a system. When I try the commands include PEAR_DIR.'Compat.php' PHP_Compat::loadFunction('file_get_contents'); it is returning error Class 'PHP_Compat' not found I can load the file in the browser with correct directory path. I tried the command include_once dirname(__FILE__).'/libs/Pear/Compat.php'; This also showing same error. This is a general pattern happening with include, include_once, require and require_once commands. Any helping pointers are really appreciated. ---- Server IP: 202.65.157.132 Probable Submitter: 117.204.125.96 ---- Manual Page -- http://www.php.net/manual/en/function.include-once.php Edit -- https://master.php.net/note/edit/102778 Del: integrated -- https://master.php.net/note/delete/102778/integrated Del: useless -- https://master.php.net/note/delete/102778/useless Del: bad code -- https://master.php.net/note/delete/102778/bad+code Del: spam -- https://master.php.net/note/delete/102778/spam Del: non-english -- https://master.php.net/note/delete/102778/non-english Del: in docs -- https://master.php.net/note/delete/102778/in+docs Del: other reasons-- https://master.php.net/note/delete/102778 Reject -- https://master.php.net/note/reject/102778 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177586) next »