ioannes wrote:
I have a particular business application so just returning html is OK,
the output is the useful bit in this case. I understand from the
discussion that I can still run my code on my server in response to a
remote server requesting the result of a function in that file and that
use cURL to execute the remote code
Bastien
From: ioannes <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Include function across servers
Date: Tue, 03 Apr 2007 00:06:25 +0100
I have a particular business application so just returning html is OK,
I have a particular business application so just returning html is OK,
the output is the useful bit in this case. I understand from the
discussion that I can still run my code on my server in response to a
remote server requesting the result of a function in that file and that
result gets back
thanks for your reply. that's what i figured using common sense, but that's
not always the case with software.
cu
tony
My email address has changed. It is now [EMAIL PROTECTED] Visit my website
- Original Messa
Tony Miceli wrote:
wouldn't that be very dangerous if someone could grab my code and run it
on their server?
Yeh, pretty dangerous. That's how c99shell and a bunch of other scripts
work.
i'm an intermediate php guy at best. for many reasons i would not want
someone including my files and ru
wouldn't that be very dangerous if someone could grab my code and run it on
their server?
i'm an intermediate php guy at best. for many reasons i would not want
someone including my files and running them on another server!!! i hope
there's no easy way to do that!
btw if files are outsid
I'm not totally clear on what you're asking, so here's two options:
If you use the include() function, you're pulling the code from the
external server and running on the local server. If you're running an
HTTP call, say via an Ajax routine for example, the code runs on the
external server.
I ask this as I do not have two web sites on different servers to test
at the moment.
Does it work to use an include function in the php code on one site that
calls a function on the other site? If you include a file on a remote
server that runs a function, where does the function run - on t