Print Page | Close Window

Upload data file to webserver

Printed From: openElement Website
Category:

openElement


Forum Name: User Tutorials
Forum Description: Browse or create a tutorial to get the most out of the openElement software.
Please do not post support questions in this section.
URL: http://forum.openelement.com/en/forum_posts.asp?TID=1310
Printed Date: Feb 20 2020 at 11:59pm
Software Version: Web Wiz Forums 10.11 - http://www.webwizforums.com


Topic: Upload data file to webserver
Posted By: william3
Subject: Upload data file to webserver
Date Posted: Jan 26 2018 at 7:19pm
I try to copy a data file from a client computer to my webserver computer using the OE "Upload File(s)" template. When trying to use the name of the data source file in my php script I get the "unknown index" error. 
Checking out shows that no filename is POSTed to my php script. When I set the type of input to "text" instead of "file" the string is POSTed to my php script. Have I forgotten something?

Willy 



Replies:
Posted By: Dmit OE
Date Posted: Jan 27 2018 at 9:05am
Hi,

It's not how file uploading works, check PHP documentation and/or tutorials on the Web concerning $_FILES


Posted By: william3
Date Posted: Jan 27 2018 at 9:59am
Hello Dmit, that was the necessary hint, it works perfect  Thumbs Up 
I don't know what brought me to using $_POST instead of $_FILES Confused

Willy



Print Page | Close Window

Forum Software by Web Wiz Forums® version 10.11 - http://www.webwizforums.com
Copyright ©2001-2012 Web Wiz Ltd. - http://www.webwiz.co.uk