开发者

is there any way to $_POST data inside a newly created iframe inside of a modal?

开发者 https://www.devze.com 2023-04-12 16:14 出处:网络
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 da

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消