If you mean execute the script as if you'd opened it up in the
browser, then yes, cURL is your friend. (
http://us.php.net/manual/en/curl.examples-basic.php if you want a
starting point)

If you're looking to actually include the PHP code from
other-domain.com and execute it on your-domain.com, the code would
have to be served up as plain text (so going to
other-domain.com/script.php in your browser would return regular old
PHP code), then you can just include it. But there are probably more
reasons to not do this than there are members on this list.

-Tom

On 3/23/09, Michele Waldman <[email protected]> wrote:
> Sorry for this posting.  I may seem lazy but everyone wants me to do
> everything right now and my daughter had 104 fever today.
>
>
>
> I'm pressed for time and I've got a baby to tend to right now.
>
>
>
> If I want to call a remote php script from a php file in a different domain?
> Curl it?
>
>
>
> Michele
>
>
>
>
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to