include_once fails!
- by user220201
Hi,
I am new to php. I thought I knew enough but apparently do not.
I am trying to use the OAuth.php from code.google.com. So I include OAuth.php in my code.
Here is my php file - index.php
<?php
print 'Hello1';
include 'test.php';
print 'Hello2';
include 'OAuth.php';
print 'Hello3';
?>
Here test.php, OAuth.php and index.php are all in the same directory.
Amazingly enough, I see Hello1 and Hello2 but not Hello3. What am I missing. Its driving me crazy. Any help is greatly greatly appreciated. I am using php5 with apache 2.2 and also have the oauth.so module installed and loaded from php.net.
SV