Create a subscription for the WP theme?
<p>I'm new to php and I'm thinking of a way to make a php file from another server to run in my server...</p>

<p>For Example:</p>

<p>Server A contains:
call.php
file1.php
file2.php</p>

<p>Server B contains:
function.php</p>

<p>the code in call.php is</p>

<pre><code>&lt;?php require( 'serverBdomain.com/function.php' ); ?&gt;
</code></pre>

<p>the code in function.php is</p>

<pre><code>&lt;?php
require( 'file1.php' );
require( 'file2.php' );
//other functions
?&gt;
</code></pre>

<p>Is there a way to achieve this? because I'm working on a subscription based system wherein I can delete function.php so that the script in serverA won't run once subscription ends.</p>

<p>Thanks in advance</p>

<p>edit:
Thanks to all of those who posted answers and sorry for not being clear on my intentions. I think what I want to happen is not yet possible considering my current knowledge of php. </p>

<p>Here's the scenario, I created a subscription based wordpress theme and I wanted to disable the theme once the subscription of my client ends, my idea was moving the functions.php to my own server and prbably delete it so that the theme won't work anymore... Are there other ways to do this?</p>
