php - POST data without user input -


so, have html in cannot use php (it's brew/rapache):

<html> <body>  <% filename = paste(tempfile(tmpdir = '/home/collin/desktop/final_project/plot'), '.png', sep = '') png(filename) data = read.csv("/home/collin/desktop/final_project/uploads/admin/grade2.csv") plot(data) dev.off() %>  <form action="view.php" method="post">   <input type="hidden" name="filename" value="<%=filename%>" /> </form>  <meta http-equiv="refresh" content="0; url=http://localhost/final_project/view.php"> </body> </html> 

anyway. put simply, i'm trying post <%=filename%> (you can treat string) $_post['filename'] can use value in view.php. i've attempted form above no avail. doing wrong?


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -