Re: use fopen iso-8859-1 resource - Mailing list pgsql-general

From ourdiaspora
Subject Re: use fopen iso-8859-1 resource
Date
Msg-id tebAK3r137rxr8m6s-HAkSKr3RTs32iL2CvDsxyJx8Sv08HEwWBcWc4q_Efde4yjo_2yi5yJHzQ7WzQ3V0SBkz-1PPkbcfRn0qc4JfBbf_A=@protonmail.com
Whole thread Raw
In response to Re: use fopen iso-8859-1 resource  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: use fopen iso-8859-1 resource  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On Saturday, August 28th, 2021 at 5:52 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:

>
> You are asking the user to select a file, so there should be some sort
>
> of file reference at that point, correct?
>

This is what causes confusion. If a user has a file named 'mydatafile.csv', why does the manual make reference to open
'test.csv'???:

https://www.php.net/manual/en/function.fgetcsv.php
"
...
if (($handle = fopen("test.csv", "r")) !== FALSE) {
...
"




pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: use fopen iso-8859-1 resource
Next
From: "David G. Johnston"
Date:
Subject: Re: use fopen iso-8859-1 resource