This is probably not the right place, but I did not know where to place it. Sorry if it is in the wrong place.

How does one get the output from a third part script to output the output from the script into a drupl page.

Like you want to have a script that outputs a form and the results of that form back into that page. Say you have a PR checker or a backlink checker.

Thanks in advance for all your asistance.

Comments

JirkaRybka’s picture

If you have the script on the same server, it should be possible to create a node, set input format to php-code, and write a bit of code, namely include_once() to get it in. (Assuming there's no collision in - for example - function names, and that the script is safe.) The node will then show the output of that script. I did it a few times already :-)

Check the script first, to see how (and if) this is possible. Some basic knowledge is advisable here.

vsr’s picture

Thank you very much for the information.

yasheshb’s picture

Client URL Library Functions
http://php.net/curl

we've see it used in ecommerce specifically in the file authorize_net.module

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/ecommerce/c...

-------------------
// Start CURL session
$ch = curl_init();

.
.
.
-------------------------

hth

yashesh bhatia

----------------------------------------------------------
Go Pre
http://www2.localaccess.com/rlalonde/pre.htm
----------------------------------------------------------

Yashesh Bhatia

OnthegOinOz’s picture

Hi I'm wondering if this was worked out as I need to do the same thing. I have heard of using Curl but I don't quite get my head around how to make it work?

The code I currently have is below in HTML that creates a link that when clicked triggers a javascript opens a page with the 3rd party order form (step 1). What I would like is for the for to appear in the same drupal node which is why I was thinking of using an IFrame however the Iframe won't let me put code in just a URL.

However if the IFrame pointed to a URL that I made that somehow automatically triggered the javascript then I think that would somehow work?! but sounds too complicated

The situation I have is that I have a panel page with panes set up a tabs and 1 of the panes containing a View as its content. I was try with the view to display the node with the IFrame.

My question is how can Curl help this situation?

thanks