Hi Huayan,
Your external website should accept a parameter "GALAXY_URL" and use this value as e.g. the content of the <form action="xxx"> attribute (use a sensible default when not starting at Galaxy and this value is not provided). Your webpage should post back to GALAXY_URL with a parameter named "URL" which contains the url from which Galaxy will fetch the incoming data (e.g. similar to 'wget URL').
You'll also need to define a new datasource tool xml for your resource, see GALAXY_ROOT/tools/data_source for a large number of examples.
See http://wiki.galaxyproject.org/Admin/Internals/Data%20Sources for more information.
Thanks for using Galaxy,
Dan
> ___________________________________________________________
On Jul 10, 2013, at 2:24 AM, Huayan Gao wrote:
> Hi,
>
> I am trying to connect my local database/webpages to my local galaxy server. But I have a hard to implement "send output to galaxy" function. Right now I have a sending page to send a form to galaxy and it looks like everything goes well. From the variable json_params(data_source.py), I can see that all parameters have been received by galaxy. But the problem is that how I get my parameters from my getfile.php file(This is used in the Galaxy_URL too, the callback function)? I tried to print out $_POST, $_GET, $_REQUEST, nothing shows up. I did see some output from $_Server. I am using php. Please help!
>
> Best,
> Huayan
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> http://lists.bx.psu.edu/
>
> To search Galaxy mailing lists use the unified search at:
> http://galaxyproject.org/search/mailinglists/