Welcome Guest, Not a member yet? Register   Sign In
Library path problem
#5

[eluser]Wayne Smallman[/eluser]
[quote author="John_Betong_002" date="1310761307"]The php function requires a complete path and APPPATH is not a complete path.

http://th.php.net/manual/en/function.file-exists.php

Try this:
Code:
if( file_exists( $_SERVER{'DOCUMENT_ROOT'} .....
 [/quote]Hi and thanks for the reply.

The problem was the lack of lead case.


Messages In This Thread
Library path problem - by El Forum - 07-15-2011, 07:40 AM
Library path problem - by El Forum - 07-15-2011, 09:08 AM
Library path problem - by El Forum - 07-15-2011, 09:21 AM
Library path problem - by El Forum - 07-15-2011, 09:42 AM
Library path problem - by El Forum - 07-15-2011, 09:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB