![]() |
using iframe - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: using iframe (/showthread.php?tid=20418) |
using iframe - El Forum - 07-09-2009 [eluser]tirso[/eluser] hi to all, I have a page with have uploading files or images, I used an iframe and javscript to avoid refreshing page and displaying uploaded image instantly. I was used this without using CI framework before. But since last week, I started using CI framework which is great because it has a good documentation, user guide and especially good forum. My question is how to call my php file as my form action? I tried to put my (ap.php) file under views folder and call as below. I am thinking to put this file into libraries and load in my controller but I don't know how exactly what to do. thanks in advance Tirso Code: <form enctype="multipart/form-data" target="framecustomize" id="customize_bcard" name="customize_bcard" action="<?= base_url()?>ap.php" method="post"> here is my (ap.php) Code: <? this javascript will display the uploaded image. |