phpdock plus phped integration |
Site Admin
|
Thanks, it's much clearer now. I hope, my answer is clear too let know if it's not.
As of 2.0 and 5.2 - I can think of the following scenario: you can create a script that will be called from phped. It will 1) save necessary arguments into a file, 2) update phpdock.ini to have phpdock started with specified URL where filename per p.1 is passed in among the other GET arguments 3) launch phpdock and wait for the results. Meanwhile phpdock starts with the URL, processes its input that it can get from the file, show you with some kind of html form, get the POSTed data after you clicked submit button and store the results into a specified (known) "results" file. At this point the script that you've invoked from PhpED will pick up the results and return them into the editor. |
||||||||||||
_________________ The PHP IDE team |
|
Ok, Sounds good to me. I will give it a try.
Thanks, Jeff
|
||||||||||||||
|
|
It works pretty good. I initially built a script that will let you insert a href tag. Now this is just a quick script so don't expect much.
The file that I add into phped integration, contains this code: filename: call_phpdock.php
The theform.php (contains the form) file that phpdock calls looks like this:
So when I run the script 'call_phpdock.php' from the scripts menu, it then starts phpdock and displays a form. Then I fill out the form and click submit, data is written to a file and the window auto closes. Then the text is inserted into my current document. The only problem I noticed, is that I have to set absolute paths in my ini file, or else I get an error saying that phpdock can't find the 'appicon.ico' and then the window won't close not even if I click the red x. I have to use the task manager to kill the window. Any ideas or suggestions? Jeff |
||||||||||||||||
|
Site Admin
|
We've fixed this problem. You may want to update to build PhpDock 2010. |
||||||||||||||
_________________ The PHP IDE team |
phpdock plus phped integration |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by