Re: postgresql csv import

From: Date: Tue, 21 Sep 2021 19:56:48 +0000
Subject: Re: postgresql csv import
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-327721@lists.php.net to get a copy of this message
On 21/09/2021 20:34, ourdiaspora wrote:
$filename=$_FILES["userfile"]["tmp_name"]; That one line is not working as expected, which means that the rest of your code will fail.
Html form extract: <form enctype="multipart/form-data" action="...php" method='post'> <input type="hidden" name="MAX_FILE_SIZE" value="50" /> Do you know what this hidden input is doing exactly?
<p> Select file on your computer: <input name="userfile" type="file" /> <input type="submit" name='datacsvimport' value=" data file" /> </p> </form>
-- Ashley Sheridan https://www.ashleysheridan.co.uk

« previous php.general (#327721) next »