Forum Moderators: coopster
I've got two scripts: 'main.php' and 'foo.php'.
main.php:
print "hello";
require_once('foo.php');
print "bye";
foo.php
print "this is foo.php";
If I execute (via shell):
# php main.php
it works fine
If I execute
# php foo.php
it works fine
But If I access http://example.com/main.php,
I get "hello" and "bye", but not "This is foo.php"
Any similar experience?
[edited by: eelixduppy at 8:36 pm (utc) on May 11, 2007]
[edit reason] example.com [/edit]