Posted by Stefan Mueller on 12/11/05 17:02
Why can't I include/require a file starting with the letter 't'?
<?php
require "C:\t.php";
?>
[11-Dec-2005 15:55:00] PHP Warning: main(C: .php) [<a
href='function.main'>function.main</a>]: failed to open stream: Invalid
argument in D:\WWW\test.php on line 2
[11-Dec-2005 15:55:00] PHP Fatal error: main() [<a
href='function.require'>function.require</a>]: Failed opening required 'C:
..php' (include_path='.;C:\php5\pear') in D:\WWW\test.php on line 2
I've PHP Version 5.0.4
Stefan
PS: With all other tested filenames starting with another letter than 't'
are working.
[Back to original message]
|