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

Posted by Janwillem Borleffs on 12/11/05 17:07

Stefan Mueller wrote:
> Why can't I include/require a file starting with the letter 't'?
> <?php
> require "C:\t.php";
>>
>

You can, but because of the double quotes, the backslash is interpreted as
an escape character.

To fix this, you have the following options:

* Use single quotes:

require 'C:\t.php';

* Use forward slashes:

require "C:/t.php";


JW

 

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

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