[FX.php List] Accessing a php file residing on an external server

Gjermund Gusland Thorsen ggt667 at gmail.com
Sun Oct 12 10:06:18 MDT 2008


Even simpler to work with is if the your external script outputs comma
separated values or something like that...
just like XML RPC.

ggt

2008/10/12 Gareth Evans <gareth.evans at schawk.com>:
> Jonathan,
>
> I think your issue is that the external script needs to be outputting raw
> php.
>
> Whereas your first example of
>
>> Test.php with single line of: $value = "Hello World"
>
>> require('http://000.000.000.000/test.php');
>> echo $value;
>
> doesn't work, changing test.php to:
>
>  <?php echo '<?php $value = 'hello world'; ?>'; ?>
>
> should work. You could also just rename test.php to test.txt if you don't
> need it to process anything.
>
> HTH,
> Gareth
> ---
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list