Hello everyone, Ive seen other topics similar to this but not found an answer that works for me. i have a contact form in an iframe, when the use fills it out and submits the form, the info goes thru and the iframe redirects but not with the desired result. I wanted it to redirect and refresh the page, but instead it redirects back to the page but shows the whole page inside the iframe as well.
<?php echo'Why are you using an iframe to hold a form?
Honestly, Time. I was using PEAR to use a form that allows emailing of attachments, but bluehost does not natively support that particular file in Pear per their support. So Google led me to some downloadable content. And no matte what I try I cannot get it to work by inserting it all in place within the root directory so Iframe was the fastest thing i could think of.
Okay, a form does not send or attach things to emails. What mail library were you using? PHPMailer and Swift are the most popular.
Your first issue, will be to get rid of the iframe. They are useful, but they have limited usages for current production.
Im looking thru phpmailer right now thank you very much for your advice and help.