I’m working on a PHP/MySQL project using Codeigniter framework.
The user fill a form with many data, and give me also FTP access to his web hosting, I want to POST FTP details to a popup after clicking Browse button, user will select a path (I’m using Codeigniter FTP Class), then I’ll grab the path after the user click Save, or Close button.
Is there anyway to open a popup and post data to it, then the user will select something and I’ll get what the user selected from the popup after closing it?
Advertisement
Answer
This looks like it will do what you want:
http://www.phpbuilder.com/board/showthread.php?t=10321605
The gist is to set your action of the form to the page you want opened up in the popup, then return the popup function as the onSubmit handler of the form.