1
$\begingroup$

my professor gave me the following task:

make a web page, that contains a form with a single file upload field. when the user uploads the file, then, using the webserver of choice (in my case - apache + php on windows), execute the script and return results to the user via the same webpage where he uploaded the script. in case there is some input data, prompt the user to enter it.

i don't know where to start on this, the upload handling is quite easy(using javascript, html and php as backend), but after that i dont know how to run it, hot to make the user enter input data if needed etc.

$\endgroup$
6
  • $\begingroup$ I'm voting to close this question as off-topic because it is unrelated to Mathematica or the Wolfram Language. $\endgroup$ Commented Jan 20, 2020 at 12:25
  • $\begingroup$ i am not asking for upload script, i am asking about script execution and processing. i think is pretty much clear what i am asking $\endgroup$ Commented Jan 20, 2020 at 13:30
  • $\begingroup$ It is not at all clear what relationship this question has to Mathematica. If it is indeed related, please explain to avoid the question being closed. $\endgroup$ Commented Jan 20, 2020 at 14:00
  • $\begingroup$ here is the relationship: i call mathematica through cli, by calling: math.exe -script <path_to_notebook.nb> but i do not get any output back, so that is one issue i am facing. if i can get the output (from a plot for example) then i can return that to the user. $\endgroup$ Commented Jan 20, 2020 at 14:05
  • $\begingroup$ You need to rewrite the question and focus on the Mathematica aspect. Right now it sounds like you have trouble building a website with PHP and HTML. $\endgroup$ Commented Jan 22, 2020 at 12:30

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.