cmor Posted July 22, 2010 Share Posted July 22, 2010 I'm requiring a php SOAP client in some of my pages. It is below the public level of the server. I'm using require_once('../../../php/SOAP/Client.php'); Client.php is a part of about 7 pages that all require each other in their respective code. Within these pages they use an interesting way to require the neighboring page. To require a page on the same directory they drop a level. For example they use require_once(SOAP/Values.php) as opposed to require_once(Values.php) . I haven't seen this before. Even more odd is that when I require the first page (Client.php), this way of allocating works some of the time. It will always work for some pages with the require, and always error on others, giving the common error. Warning: require_once(SOAP/Value.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxx/php/SOAP/Client.php on line 26 I've verified this is actually occurring in every way possible way. I require the file in some pages and it works, others I would have to remove the extra directory. I have no idea what is going on. Can anyone shed some light? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.