PDA

View Full Version : There has GOTTA be a way to do this


amykhar
08-25-2001, 10:19 PM
What I am trying to do: modify the "external links" hack so that it will work across domains.

What I have so far: I have the script running on the host where my boards are. I have a test script on another domain where my portal is. The test script successfully calls the link-creation script on the forum host, and displays the proper link.

What I NEED it to do: I need to get this link in to a variable so that I can append it to the story in the database.

What I have tried: I cannot create a function on the forum host and call it from the other domain. The remote file includes properly, but does not see the function.

I can't put the link-creation script on my portal site and then point it to the proper host for the mysql server on the forum host. I don't know the IP of the mysql server (I just use localhost for my forums).

So, the question is, how on earth to I call a function on one host from another host and get the results?

Amy

amykhar
08-26-2001, 09:36 PM
Not exactly sure why this was moved to requests since it's not a request, but a question about something I am implementing. Oh well.

Is there any technical way to call a php function and get the results across domains and servers?

Amy