You are here: PHP include/require bug? « All PHP « IT news, forums, messages
PHP include/require bug?

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация