Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3209
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Peter H. Coffin" <hellsop@ninehells.com> |
| Newsgroups | comp.lang.php |
| Subject | Re: file_get_contents() on Windows 7 |
| Date | Sun, 25 Sep 2011 12:28:09 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <slrnj7up59.hbg.hellsop@nibelheim.ninehells.com> (permalink) |
| References | <2k44l8-qlt.ln1@luuk.invalid.lan> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | mx04.eternal-september.org; posting-host="le/2G4+BNpieVhQI6uJ2Lw"; logging-data="1733"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FvfUU0HK0yTmhzJon3H5J" |
| User-Agent | slrn/0.9.9p1 (OpenBSD) |
| Cancel-Lock | sha1:FhoVoiZ3iCqA2HtOwG18qoEnz8Q= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:3209 |
Show key headers only | View raw
On Sun, 25 Sep 2011 19:22:42 +0200, Luuk wrote:
> I am getting an error when using get_file_contents,
> i simplified my problem as below:
>
> C:\TEMP>dir >test
>
> C:\TEMP>php -e "echo get_file_contents('test', true); "
> Could not open input file: echo get_file_contents(test, true);
Where is your file "echo get_file_contents('test', true); "? It is
obviously not in the current directory.
>
> C:\TEMP>dir test
> Volume in drive C is MyCdrive
> Volume Serial Number is A0B0-B175
>
> Directory of C:\TEMP
>
> 25-09-2011 19:09 1.822 test
> 1 File(s) 1.822 bytes
>
>
> The question is, why?
>
> I also tried to specify full path 'c:\temp\test'
> or with slashes in stead of back-slased like: 'c:/temp/test'
> but no luck so far.....
>
--
4. Shooting is not too good for my enemies.
--Peter Anspach's list of things to do as an Evil Overlord
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
file_get_contents() on Windows 7 Luuk <Luuk@invalid.lan> - 2011-09-25 19:22 +0200
Re: file_get_contents() on Windows 7 Luuk <Luuk@invalid.lan> - 2011-09-25 19:35 +0200
Re: file_get_contents() on Windows 7 "Peter H. Coffin" <hellsop@ninehells.com> - 2011-09-25 12:28 -0500
Re: file_get_contents() on Windows 7 Luuk <Luuk@invalid.lan> - 2011-09-25 20:27 +0200
Re: file_get_contents() on Windows 7 Luuk <Luuk@invalid.lan> - 2011-09-25 20:39 +0200
Re: file_get_contents() on Windows 7 Doug Miller <doug_at_milmacdotcom@example.com> - 2011-09-25 14:32 -0400
csiph-web