Re: postgresql csv import

[email protected] (ourdiaspora)
Newsgroups php.general
Message-ID <lzsQfreceOZqdA3-nuxiLWabhxeh-liu9Y5SuVTC_lBFvweLTlr0Nk118MG62B7C8wqX8jGZ3p_N8XVAkofuqZmkoUXSXGsg-313K0tPovc=@protonmail.com>
> $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" />
	<p>
		Select file on your computer: <input name="userfile" type="file" />
		<input type="submit" name='datacsvimport' value=" data file" />
	</p>
</form>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.