Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Virtual" means never knowing where your next byte is coming from.


devel / comp.lang.php / Re: include no work for some filenames

SubjectAuthor
o Re: include no work for some filenamesHe, who travels time to time

1
Re: include no work for some filenames

<0a9f6ba3-eea9-45b7-9596-c60917575e93n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=674&group=comp.lang.php#674

  copy link   Newsgroups: comp.lang.php
X-Received: by 2002:a05:622a:11cf:b0:35b:a369:cc3 with SMTP id n15-20020a05622a11cf00b0035ba3690cc3mr2943418qtk.11.1663855939826;
Thu, 22 Sep 2022 07:12:19 -0700 (PDT)
X-Received: by 2002:a25:7b06:0:b0:6a9:5f43:bd62 with SMTP id
w6-20020a257b06000000b006a95f43bd62mr4054675ybc.357.1663855939460; Thu, 22
Sep 2022 07:12:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.php
Date: Thu, 22 Sep 2022 07:12:19 -0700 (PDT)
In-Reply-To: <rd0d1n$nsc$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=82.131.36.130; posting-account=gin_zAoAAAAxFoHHJeGbYqdKpQ_tFzq7
NNTP-Posting-Host: 82.131.36.130
References: <rd0d1n$nsc$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0a9f6ba3-eea9-45b7-9596-c60917575e93n@googlegroups.com>
Subject: Re: include no work for some filenames
From: he1983912@aol.com (He, who travels time to time)
Injection-Date: Thu, 22 Sep 2022 14:12:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3364
 by: He, who travels time - Thu, 22 Sep 2022 14:12 UTC

Hey... Want to talk? Call me.... My telephone number >>>>

(+372) 56330687

Martin kirjutas Kolmapäev, 24. juuni 2020 kl 23:28:45 UTC+3:
> 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"; ?>
>
> All of the four include files exist and are identical
> (apart from the filenames) containing:
> <?php
> // This PHP file does very little.
> ?>
>
> The first two includes succeed while the last two fail
> with the warnings:
> Warning: include(C:\Documents and Settings\name\My Documents\Web
> Pages\PHP oot.php): failed to open stream: Invalid argument in
> C:\Documents and Settings\name\My Documents\Web Pages\muck.php on line 6
>
> Warning: include(): Failed opening 'C:\Documents and Settings\name\My
> Documents\Web Pages\PHP oot.php' for inclusion
> (include_path='.;C:\php\pear') in C:\Documents and Settings\name\My
> Documents\Web Pages\muck.php on line 6
>
> Warning: include(C:\Documents and Settings\name\My Documents\Web
> Pages\PHP ail.php): failed to open stream: Invalid argument in
> C:\Documents and Settings\name\My Documents\Web Pages\muck.php on line 7
>
> Warning: include(): Failed opening 'C:\Documents and Settings\name\My
> Documents\Web Pages\PHP ail.php' for inclusion
> (include_path='.;C:\php\pear') in C:\Documents and Settings\name\My
> Documents\Web Pages\muck.php on line 7
>
> I am using PHP as a static file generator, and am using the command:
> php -n -f "muck.php" > "muck.html"
>
> This is using PHP 5.4.9 under Windows XP.
>
> The problem is obviously the filenames, but why? What is going on?
> Many thanks for any help you can give.
>
> --
> Regards,
> Martin Leese
> E-mail: ple...@see.Web.for.e-mail.INVALID
> Web: http://members.tripod.com/martin_leese/

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor