is there any way to $_POST data inside a newly created iframe inside of a modal?
i have a form that will generate a pdf file after submiting the input data...i want to make the user be able to preview the pdf so i come up w/ a iframe inside a simplemodal...i want to send $_POST data to an iframe..that is inside of a simple modal created on the fly...i have tried targeting the iframe but it doesn't work...i've searched through the net but nothing works for me...please help! 开发者_运维百科
I am assuming that from the $_POST you are using PHP. Files that are uploaded through post are not stored in the POST array, but rather in the $_FILES array. Refer to this MAN page on how to use it.
Be sure to move the file to a directory of choice before you try to retrieve it.
精彩评论