Re: postgresql csv import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux