Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18295

Re: include no work for some filenames

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: include no work for some filenames
Date Wed, 24 Jun 2020 23:39:57 +0200
Lines 22
Message-ID <hlhvhdF67icU2@mid.individual.net> (permalink)
References <rd0d1n$nsc$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net 8fNbgEOoBXyXb0321abXMwpYPYGeyBAujqVRkKzmk4el9Hmy2Y
Cancel-Lock sha1:5pb9L2fxzNGqOGi+vbb52mqXPno=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0
In-Reply-To <rd0d1n$nsc$1@dont-email.me>
Content-Language en-US-large
Xref csiph.com comp.lang.php:18295

Show key headers only | View raw


On 24/06/2020 22.28, Martin wrote:
> OK, this one is driving me nuts.
> 
> I have a PHP file called "muck.php" containing the following:
> <?php
>      $localBase = 'C:\Documents and Settings\name\My Documents\Web Pages';
>      include "$localBase\PHP\head.php";
> ?>
> <?php include "$localBase\PHP\boot.php"; ?>
> <?php include "$localBase\PHP\foot.php"; ?>
> <?php include "$localBase\PHP\tail.php"; ?>

You need to escape the backslash, \\ instead of \

I would recommend you to update your operating system, I don't care so 
much about your computer and data, but it will cause a lot of trouble 
for everyone else.

-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

include no work for some filenames Martin <please@see.Web.for.e-mail.INVALID> - 2020-06-24 14:28 -0600
  Re: include no work for some filenames Martin <please@see.Web.for.e-mail.INVALID> - 2020-06-24 14:55 -0600
  Re: include no work for some filenames Paul Herber <paul@paulherber.co.uk> - 2020-06-24 22:00 +0100
  Re: include no work for some filenames "J.O. Aho" <user@example.net> - 2020-06-24 23:39 +0200
    Re: include no work for some filenames Jerry Stuckle <jstucklex@attglobal.net> - 2020-06-25 11:40 -0400
  Re: include no work for some filenames Härra Rabmo <he12091983@gmail.com> - 2022-07-08 06:45 -0700
  Re: include no work for some filenames "He, who travels time to time" <he1983912@aol.com> - 2022-09-22 07:12 -0700

csiph-web