Reply to Re: PHP include/require bug?

Your name:

Reply:


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

[Back to original 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

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